summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nds32
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/nds32')
-rw-r--r--libc/sysdeps/linux/nds32/bits/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/nds32/bits/fcntl.h b/libc/sysdeps/linux/nds32/bits/fcntl.h
index 988686b27..2e6a95ec8 100644
--- a/libc/sysdeps/linux/nds32/bits/fcntl.h
+++ b/libc/sysdeps/linux/nds32/bits/fcntl.h
@@ -58,6 +58,7 @@
# define O_DIRECT 040000 /* Direct disk access. */
# define O_NOATIME 01000000 /* Do not set atime. */
# define O_PATH 010000000 /* Resolve pathname but do not open file. */
+# define O_TMPFILE 020200000 /* Atomically create nameless file. */
#endif
/* For now Linux has synchronisity options for data and read operations.