summaryrefslogtreecommitdiff
path: root/include/fcntl.h
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-11-18 05:14:40 +0100
committerrofl0r <retnyg@gmx.net>2012-11-18 05:14:40 +0100
commit8d2887f88475bb26ff4d48b661e26265a74e73bb (patch)
treedf57471d3893d8e13e02b3feabc4727a5d350b28 /include/fcntl.h
parentae67fe1aadb12db2d01eb7af0a3d837296216101 (diff)
downloadmusl-8d2887f88475bb26ff4d48b661e26265a74e73bb.tar.gz
fcntl.h: O_SEARCH was missing for powerpc
put some macros that do not differ between architectures in the main header and remove from bits. restructure mips header so it has the same structure as the others.
Diffstat (limited to 'include/fcntl.h')
-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