home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dmake40.zip / os2 / sysintf.h < prev   
C/C++ Source or Header  |  1994-10-23  |  582b  |  39 lines

  1. /*
  2. ** assorted bits of system interface
  3. */
  4.  
  5. #define STAT stat
  6. #define VOID_LCACHE(l,m)
  7. #define Hook_std_writes(A)
  8. #define GETPID getpid()
  9.  
  10. extern char * tempnam();
  11. extern char * getcwd();
  12.  
  13.  
  14. /* for directory cache */
  15. #define CacheStat(A,B)    really_dostat(A,&buf)
  16.  
  17.  
  18. /*
  19. ** standard C items
  20. */
  21.  
  22. /*
  23. ** DOS interface standard items
  24. */
  25. #define    chdir(p) _chdir(p)
  26.  
  27. /*
  28. ** make parameters
  29. */
  30. #ifdef _POSIX_NAME_MAX
  31. #undef  _POSIX_NAME_MAX
  32. #endif
  33. #define _POSIX_NAME_MAX 12
  34.  
  35. #ifdef _POSIX_PATH_MAX
  36. #undef _POSIX_PATH_MAX
  37. #endif
  38. #define _POSIX_PATH_MAX 255
  39.