1 /* Stat-related compatibility stuff. */
3 #ifndef EL__OSDEP_STAT_H
4 #define EL__OSDEP_STAT_H
7 #include <sys/stat.h> /* OS/2 needs this after sys/types.h */
12 /* File permission flags not available on win32 systems. */
14 #define S_IRUSR 0000400 /* R for user */
17 #define S_IWUSR 0000200 /* W for user */
20 #define S_IXUSR 0000100 /* X for user */
23 #define S_ISUID 0004000 /* set user id on execution */
26 #define S_IRGRP 0000040 /* R for group */
29 #define S_IWGRP 0000020 /* W for group */
32 #define S_IXGRP 0000010 /* X for group */
35 #define S_ISGID 0002000 /* set group id on execution */
38 #define S_IROTH 0000004 /* R for other */
41 #define S_IWOTH 0000002 /* W for other */
44 #define S_IXOTH 0000001 /* X for other */
47 #define S_ISVTX 0001000 /* save swapped text even after use */
51 #define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR)
54 #define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP)
57 #define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH)
60 #endif /* EL__OSDEP_STAT_H */