home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / SASC6574.LZX / include / sys / commifmt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-04  |  797 b   |  29 lines

  1. /* Copyright (c) 1993 SAS Institute, Inc., Cary, NC USA */
  2. /* All Rights Reserved */
  3.  
  4. /* This header file contains common preprocessor symbol   */
  5. /* definitions that were previously duplicated throughout */
  6. /* the header files. Those definitions were moved here    */
  7. /* and replaced with a #include of this header file.      */
  8. /* This was done to purify the header files for GST       */
  9. /* processing.                                            */
  10.  
  11. #ifndef S_IFMT
  12. /***
  13. *
  14. * The following flags are used to establish the protection mode.
  15. *
  16. ***/
  17. #define S_IFMT     (S_IFDIR|S_IFREG)
  18. #define S_IFDIR    2048
  19. #define S_IFREG    1024
  20.  
  21. #define S_ISCRIPT   64
  22. #define S_IPURE     32
  23. #define S_IARCHIVE  16
  24. #define S_IREAD     8
  25. #define S_IWRITE    4
  26. #define S_IEXECUTE  2
  27. #define S_IDELETE   1
  28. #endif
  29.