diff options
author | rofl0r <retnyg@gmx.net> | 2012-11-18 05:14:40 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-11-18 05:14:40 +0100 |
commit | 8d2887f88475bb26ff4d48b661e26265a74e73bb (patch) | |
tree | df57471d3893d8e13e02b3feabc4727a5d350b28 /include | |
parent | ae67fe1aadb12db2d01eb7af0a3d837296216101 (diff) | |
download | musl-8d2887f88475bb26ff4d48b661e26265a74e73bb.tar.gz musl-8d2887f88475bb26ff4d48b661e26265a74e73bb.tar.bz2 musl-8d2887f88475bb26ff4d48b661e26265a74e73bb.tar.xz musl-8d2887f88475bb26ff4d48b661e26265a74e73bb.zip |
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')
-rw-r--r-- | include/fcntl.h | 4 |
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 |