This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Troubles with opendir/readdir
- To: gnu-win32 at cygnus dot com
- Subject: Re: Troubles with opendir/readdir
- From: cgf at cygnus dot com (Christopher G. Faylor)
- Date: 1 Oct 1998 18:21:27 GMT
- Newsgroups: cygnus.gnu-win32
- Organization: Cygnus Solutions
- References: <5010400027376621000002L012*.cygnus.gnu-win32@MHS>
- Stamped: newsgate-cygnus
In article <5010400027376621000002L012*.cygnus.gnu-win32@MHS>,
Craig Setera <setera@us.ibm.com> wrote:
>Hi...
>
>I posted to the list about a week or so ago about troubles that I'm having with
>opendir/readdir/closedir functions. Although I know how they are supposed to
>work, when I open a directory which has a number of files in it, it is as
>though they are not seen by the functions. I never get any errors, but I also
>never get any files. Can anyone offer any thoughts on what I might be doing
>wrong with these functions? I know that they must work or many other programs
>would fail.
The best thing to do would be to debug the problem using gdb. If you have
the sources installed you can step straight into opendir/readdir to see what
what's going on.
--
cgf@cygnus.com
http://www.cygnus.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".