summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/h8300/bits/fcntl.h
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-05-24 02:06:25 +0900
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-10 10:19:40 -0500
commitb4c496207001d9e18f4154bb4381174f0dc2011b (patch)
tree3ecda008fd12a146d40fd7d254914455d8a4fb4a /libc/sysdeps/linux/h8300/bits/fcntl.h
parente364302aeaa7fc4f18c66acdbba5dd2c14f77555 (diff)
h8300: headers update
- wire up new kernel Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/h8300/bits/fcntl.h')
-rw-r--r--libc/sysdeps/linux/h8300/bits/fcntl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/h8300/bits/fcntl.h b/libc/sysdeps/linux/h8300/bits/fcntl.h
index 45deec46a..1c653be24 100644
--- a/libc/sysdeps/linux/h8300/bits/fcntl.h
+++ b/libc/sysdeps/linux/h8300/bits/fcntl.h
@@ -22,6 +22,9 @@
#include <sys/types.h>
+#ifdef __USE_GNU
+# include <bits/uio.h>
+#endif
/* open/fcntl - O_SYNC is only implemented on blocks devices and on files
located on an ext2 file system */
@@ -42,8 +45,10 @@
#ifdef __USE_GNU
# define O_DIRECTORY 040000 /* Must be a directory. */
-# define O_NOFOLLOW 0100000 /* Do not follow links. */
# define O_DIRECT 0200000 /* Direct disk access. */
+# define O_NOFOLLOW 0400000 /* Do not follow links. */
+# define O_NOATIME 01000000 /* Do not set atime. */
+# define O_CLOEXEC 02000000 /* Set close_on_exec. */
#endif
/* For now Linux has synchronisity options for data and read operations.