home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / SH162_2S.ZIP / CHANGES next >
Text File  |  1990-02-17  |  2KB  |  74 lines

  1. Add to fcntl.h the following 2 lines
  2.  
  3. extern int _CDECL    open    (char *, int, ...);
  4. extern int _CDECL    creat    (char *, int);
  5.  
  6. Add to limits.h the following 2 lines
  7.  
  8. #define PATH_MAX    130        /* Maximum path length        */
  9. #define NAME_MAX    14        /* Maximum file name length    */
  10.  
  11. Add to stdio.h the following 2 lines
  12.  
  13. extern FILE * _CDECL    popen(char *, char *);
  14. extern int _CDECL    pclose(FILE *);
  15.  
  16. Add to stdlib.h the following 8 lines
  17.  
  18. extern int _CDECL        optind;
  19. extern int _CDECL        opterr;
  20. extern int _CDECL        optind;
  21. extern int _CDECL        optopt;
  22. extern int _CDECL        optvar;
  23. extern char * _CDECL        optarg;
  24. extern int _CDECL        getopt    (int, char **, char *);
  25. extern int _CDECL        pnmatch    (char *, char *, int);
  26.  
  27. Add to sys/stat.h the following 10 lines
  28.  
  29. /* Tests for file types */
  30.  
  31. #define    S_IFBLK        0060000        /* block special        */
  32.  
  33. #define S_ISDIR(m)    ((((m) & S_IFMT) == S_IFDIR))
  34. #define S_ISCHR(m)    ((((m) & S_IFMT) == S_IFCHR))
  35. #define S_ISREG(m)    ((((m) & S_IFMT) == S_IFREG))
  36. #define S_ISBLK(m)    ((((m) & S_IFMT) == S_IFBLK))
  37. extern int CDECL    chmod    (char *, int);
  38. extern int CDECL    umask    (int);
  39.  
  40. Add to sys/types.h the following 32 lines
  41.  
  42. #ifndef _USHORT_T_DEFINED
  43. typedef unsigned short    ushort;
  44. #define _USHORT_T_DEFINED
  45. #endif
  46.  
  47. #ifndef _MODE_T_DEFINED
  48. typedef unsigned short    mode_t;
  49. #define _MODE_T_DEFINED
  50. #endif
  51.  
  52. #ifndef _PID_T_DEFINED
  53. typedef int        pid_t;
  54. #define _PID_T_DEFINED
  55. #endif
  56.  
  57. #ifndef _GID_T_DEFINED
  58. typedef int        gid_t;
  59. #define _GID_T_DEFINED
  60. #endif
  61.  
  62. #ifndef _UID_T_DEFINED
  63. typedef int        uid_t;
  64. #define _UID_T_DEFINED
  65. #endif
  66.  
  67. #ifndef _BOOL_T_DEFINED
  68. typedef char        bool;    /* Boolean: 0 = false, 1 = true        */
  69. #define FALSE    ((bool)0)    /* Boolean 'false'            */
  70. #define TRUE    ((bool)1)    /* Boolean 'true'            */
  71. #define _BOOL_T_DEFINED
  72. #endif
  73.  
  74.