We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 196aedb commit 4c1b441Copy full SHA for 4c1b441
libc/include/llvm-libc-macros/linux/fcntl-macros.h
@@ -12,10 +12,22 @@
12
// File creation flags
13
#define O_CLOEXEC 02000000
14
#define O_CREAT 00000100
15
+
16
+#ifdef __aarch64__
17
+#define O_DIRECTORY 040000
18
+#else
19
#define O_DIRECTORY 00200000
20
+#endif
21
22
#define O_EXCL 00000200
23
#define O_NOCTTY 00000400
24
25
26
+#define O_NOFOLLOW 0100000
27
28
#define O_NOFOLLOW 00400000
29
30
31
#define O_TRUNC 00001000
32
#define O_TMPFILE (020000000 | O_DIRECTORY)
33
0 commit comments