home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Moscow ML 1.31 / source code / mosml / e_mac / sys⁄stat.h < prev    next >
Encoding:
Text File  |  1995-09-05  |  414 b   |  25 lines  |  [TEXT/CWIE]

  1. /* sys/stat.h */
  2.  
  3.  
  4. #ifndef _STAT
  5. #include <stat.h>
  6. #endif
  7.  
  8. /* these don't go here but it works to fool mosml's unix.c */
  9.  
  10. #ifndef F_OK
  11. #include <sys/unistd.h>
  12. #endif
  13.  
  14. char *realpath( char *linkname, char *buffer );
  15. long readlink( char *linkname, char *buffer, long maxlen );
  16.  
  17. #ifdef __MWERKS__
  18. // oops, I think MWERKS stat IS lstat
  19. #define lstat stat
  20. #else
  21. int lstat( char *path, struct stat *buf );
  22. #endif
  23.  
  24. /* */
  25.