Reading MS-DOS directory in C, how to

david nugent david at csource.oz.au
Fri Feb 16 15:37:54 AEST 1990


 >  j = findfirst ("*.*", &ff, FA_RDONLY|FA_HIDDEN|FA_SYSTEM|FA_DIREC);
 >  while (j)
 >       {
 >       /* store information or do whatever */
 >       j = findfirst (&ff);
 >       }

A correction:  The while statement above should read:

      while (j == 0)

etc.

Sorry if it caused you any problems.

david

--  
uucp: ...!munnari!csource!david   
internet: david at csource.oz.au
Via FidoNet 3:632/348, Melbourne, Australia.



More information about the Comp.lang.c mailing list