summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fcntl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index 9250e70e..70d4cbb5 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -37,6 +37,10 @@ int openat(int, const char *, int, ...);
int posix_fadvise(int, off_t, off_t, int);
int posix_fallocate(int, off_t, off_t);
+#define O_SEARCH 010000000
+#define O_EXEC 010000000
+#define O_PATH 010000000
+
#define O_ACCMODE (03|O_SEARCH)
#define O_RDONLY 00
#define O_WRONLY 01