summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/bits/fcntl.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-14 04:38:52 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-14 04:38:52 +0000
commitb27f55ddc2bb42ced55fa6d318fe2592a25b6222 (patch)
tree97bfb6b17e0bb320751bd6e3c3f8ea384dce47f9 /libc/sysdeps/linux/m68k/bits/fcntl.h
parent0a1bed60fb10fe7e1edf1f4458d62b287f70a3db (diff)
sync with glibc
Diffstat (limited to 'libc/sysdeps/linux/m68k/bits/fcntl.h')
-rw-r--r--libc/sysdeps/linux/m68k/bits/fcntl.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/m68k/bits/fcntl.h b/libc/sysdeps/linux/m68k/bits/fcntl.h
index 4b41b4715..90c0a481e 100644
--- a/libc/sysdeps/linux/m68k/bits/fcntl.h
+++ b/libc/sysdeps/linux/m68k/bits/fcntl.h
@@ -1,5 +1,5 @@
/* O_*, F_*, FD_* bit values for Linux.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -45,7 +45,7 @@
# 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_STREAMING 04000000/* streaming access */
+# define O_NOATIME 01000000 /* Do not set atime. */
#endif
/* For now Linux has synchronisity options for data and read operations.
@@ -79,7 +79,7 @@
#define F_SETLK64 13 /* Set record locking info (non-blocking). */
#define F_SETLKW64 14 /* Set record locking info (blocking). */
-#if defined __USE_BSD || defined __USE_XOPEN2K
+#if defined __USE_BSD || defined __USE_UNIX98
# define F_SETOWN 8 /* Get owner of socket (receiver of SIGIO). */
# define F_GETOWN 9 /* Set owner of socket (receiver of SIGIO). */
#endif
@@ -178,3 +178,11 @@ struct flock64
# define POSIX_FADV_DONTNEED 4 /* Don't need these pages. */
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
#endif
+
+__BEGIN_DECLS
+
+/* Provide kernel hint to read ahead. */
+extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
+ __THROW;
+
+__END_DECLS