aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-27 21:00:40 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-27 21:00:40 +0100
commit00c5f457b7616cf67a5b416fa3b06ce427ae09ec (patch)
treeebcdcbbbf294d2ee49ae9a27f246133af585da57 /include/sys
parentfix errors (diff)
downloadslibc-00c5f457b7616cf67a5b416fa3b06ce427ae09ec.tar.gz
slibc-00c5f457b7616cf67a5b416fa3b06ce427ae09ec.tar.bz2
slibc-00c5f457b7616cf67a5b416fa3b06ce427ae09ec.tar.xz
doc
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
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)