summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/csky
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/csky')
-rw-r--r--libc/sysdeps/linux/csky/bits/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/csky/bits/fcntl.h b/libc/sysdeps/linux/csky/bits/fcntl.h
index 817ef56e4..b36f41569 100644
--- a/libc/sysdeps/linux/csky/bits/fcntl.h
+++ b/libc/sysdeps/linux/csky/bits/fcntl.h
@@ -42,6 +42,7 @@
# define O_DIRECT 00040000 /* direct disk access hint */
# 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.