aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/stat.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 58b0514..878a414 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -24,18 +24,32 @@
#if defined(__SLIBC_SOURCE)
/**
+ * Everyone, or anyone, have read permission.
+ *
* @since Always.
*/
# define S_IRALL (S_IRUSR | S_IRGRP | S_IROTH)
+
/**
+ * Everyone, or anyone, have write permission.
+ *
* @since Always.
*/
# define S_IWALL (S_IWUSR | S_IWGRP | S_IWOTH)
+
/**
+ * Everyone, or anyone, have execute permission.
+ * Execute permission for directories means to
+ * be able to list files in the directory.
+ *
* @since Always.
*/
# define S_IXALL (S_IXUSR | S_IXGRP | S_IXOTH)
+
/**
+ * Set-UID bit, set-GID bit, and/or sticky bit
+ * is set.
+ *
* @since Always.
*/
# define S_ISALL (S_ISUID | S_ISGID | S_ISVTX)