From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Jennings Subject: opening a directory, and reading it's contents Date: Fri, 30 Aug 2002 17:45:41 -0700 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <20020830174541.A16505@namodn.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-c-programming@vger.kernel.org Hi, I can't seem to find the function I am looking for. I'd like to open a directory for reading, and iterate through the contents of it (filenames, directories etc). Is there a platoform independant way to do this? What's the linux-specific way to do it? Any elaboration welcome, thanks. - Nick