summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/bits/fcntl.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-11 05:57:36 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-11 05:57:36 +0000
commit490a7173ec0ad521bc22eb7ed8482e0cc54d92d2 (patch)
tree25545830226e9f1ce9581af19efb72858bbefb69 /libc/sysdeps/linux/x86_64/bits/fcntl.h
parent43e00abf658e917980bb39ad6d158dc724697c10 (diff)
sync with glibc
Diffstat (limited to 'libc/sysdeps/linux/x86_64/bits/fcntl.h')
-rw-r--r--libc/sysdeps/linux/x86_64/bits/fcntl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/x86_64/bits/fcntl.h b/libc/sysdeps/linux/x86_64/bits/fcntl.h
index 6ba65c7c6..9198c70bd 100644
--- a/libc/sysdeps/linux/x86_64/bits/fcntl.h
+++ b/libc/sysdeps/linux/x86_64/bits/fcntl.h
@@ -193,3 +193,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