home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_10_02 / 1002096a < prev    next >
Text File  |  1991-01-14  |  501b  |  13 lines

  1.  
  2. if (!_dos_findfirst(path, _A_SUBDIR, fib))
  3.         do      {
  4.                 if (fib->name[0] != '.' &&
  5.                                  fib->attrib & _A_SUBDIR)
  6.                         strcpy(*subfifoptr++, fib->name);
  7.                 } while (!_dos_findnext(fib) &&
  8.                                 *subfifoptr <
  9.                                 &subfifo[(_MAX_FNAME - 1) * MAX_SUB]);
  10. **subfifoptr = NULL;            /* terminate FIFO */
  11. *subfifoptr = subfifo;  /* reset FIFO pointer */
  12.  
  13.