BPFIND.H 647 B

12345678910111213141516171819202122232425
  1. /* MSC / BC compatible findfirst()/findnext() definitions. */
  2. #ifdef __TURBOC__
  3. #include <dir.h>
  4. #include <dos.h>
  5. #else
  6. #include <dos.h>
  7. struct ffblk
  8. {
  9. char ff_reserved[21];
  10. char ff_attrib;
  11. unsigned ff_ftime;
  12. unsigned ff_fdate;
  13. long ff_fsize;
  14. char ff_name[13];
  15. }
  16. #define findfirst(p, f, a) _dos_findfirst(p, (struct _find_t *)f, a)
  17. #define findnext(f) _dos_findnext((struct _find_t *)f)
  18. #define FA_RDONLY _A_RDONLY
  19. #define FA_HIDDEN _A_HIDDEN
  20. #define FA_SYSTEM _A_SYSTEM
  21. #define FA_LABEL _A_VOLID
  22. #define FA_DIREC _A_SUBDIR
  23. #define FA_ARCH _A_ARCH
  24. #endif