mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-17 06:24:12 -04:00
Complete the list of S_I* macros.
This commit is contained in:
parent
b8e64a5ee0
commit
3efe402722
@ -10,6 +10,15 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* File permission flags not available on win32 systems. */
|
/* File permission flags not available on win32 systems. */
|
||||||
|
#ifndef S_IRUSR
|
||||||
|
#define S_IRUSR 0000400 /* R for user */
|
||||||
|
#endif
|
||||||
|
#ifndef S_IWUSR
|
||||||
|
#define S_IWUSR 0000200 /* W for user */
|
||||||
|
#endif
|
||||||
|
#ifndef S_IXUSR
|
||||||
|
#define S_IXUSR 0000100 /* X for user */
|
||||||
|
#endif
|
||||||
#ifndef S_ISUID
|
#ifndef S_ISUID
|
||||||
#define S_ISUID 0004000 /* set user id on execution */
|
#define S_ISUID 0004000 /* set user id on execution */
|
||||||
#endif
|
#endif
|
||||||
@ -38,4 +47,14 @@
|
|||||||
#define S_ISVTX 0001000 /* save swapped text even after use */
|
#define S_ISVTX 0001000 /* save swapped text even after use */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef S_IRWXU
|
||||||
|
#define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef S_IRWXG
|
||||||
|
#define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP)
|
||||||
|
#endif
|
||||||
|
#ifndef S_IRWXO
|
||||||
|
#define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* EL__OSDEP_STAT_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user