home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume3 / pcmail / part08 / dir.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-02-03  |  788 b   |  38 lines

  1. /*++
  2. /* NAME
  3. /*    dir    5
  4. /* SUMMARY
  5. /*    directory access specification
  6. /* PROJECT
  7. /*    dos/unix compatibility
  8. /* PACKAGE
  9. /*    library functions
  10. /* DESCRIPTION
  11. /* .nf
  12.  
  13. /* /* directory access functions */
  14.  
  15. extern char *readdir();
  16.  
  17. #ifdef    unix
  18. #define    opendir(id)    open(id,0)    /* a directory is just */
  19. #define    closedir(id)    close(id)    /* another file */
  20. #endif
  21.  
  22. #ifdef    MSDOS
  23. extern int opendir();            /* a directory is a very */
  24. extern int closedir();            /* special file */
  25. #endif
  26. /* AUTHOR(S)
  27. /*    Wietse Venema
  28. /*    Eindhoven University of Technology
  29. /*    Department of Mathematics and Computer Science
  30. /*    Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  31. /* CREATION DATE
  32. /*    Mon Nov 17 19:38:19 GMT+1:00 1986
  33. /* LAST MODIFICATION
  34. /*    Mon Apr  4 23:39:00 MET 1988
  35. /* VERSION/RELEASE
  36. /*    1.3
  37. /*--*/
  38.