summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/bits/fcntl.h
diff options
context:
space:
mode:
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