summaryrefslogtreecommitdiff
path: root/src/fcntl/O_ACCMODE.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcntl/O_ACCMODE.h')
-rw-r--r--src/fcntl/O_ACCMODE.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fcntl/O_ACCMODE.h b/src/fcntl/O_ACCMODE.h
new file mode 100644
index 00000000..82045649
--- /dev/null
+++ b/src/fcntl/O_ACCMODE.h
@@ -0,0 +1,7 @@
+#include <fcntl.h>
+
+#define O_ACCMODE (O_EXEC|O_RDONLY|O_RDWR|O_SEARCH|O_WRONLY)
+
+/*
+POSIX(1)
+*/