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.
This commit is contained in:
rofl0r committed 2012-11-18 05:14:40 +01:00
1 parent ae67fe1aad
commit 8d2887f884
6 files changed
+13 -24

No files matched your search

+4
View File
@@ -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