summaryrefslogtreecommitdiff
path: root/libc/include/sys/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/sys/stat.h')
-rw-r--r--libc/include/sys/stat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h
index 4a4bdbd..b8c5ee0 100644
--- a/libc/include/sys/stat.h
+++ b/libc/include/sys/stat.h
@@ -24,4 +24,8 @@ int stat __P((__const char * __path, struct stat * __statbuf));
int lstat __P((__const char * __path, struct stat * __statbuf));
int fstat __P((int __fd, struct stat * __statbuf));
+/* hysterical raisins */
+#define S_IREAD S_IRUSR /* read permission, owner */
+#define S_IWRITE S_IWUSR /* write permission, owner */
+#define S_IEXEC S_IXUSR /* execute/search permission, owner */
#endif