projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add port io functions to sys/io.h
[musl]
/
include
/
fcntl.h
diff --git
a/include/fcntl.h
b/include/fcntl.h
index
9250e70
..
70d4cbb
100644
(file)
--- 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