]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add readahead prototype.
authorUlrich Drepper <drepper@redhat.com>
Tue, 20 Jan 2004 23:23:55 +0000 (23:23 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 20 Jan 2004 23:23:55 +0000 (23:23 +0000)
sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
sysdeps/unix/sysv/linux/arm/bits/fcntl.h
sysdeps/unix/sysv/linux/cris/bits/fcntl.h
sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
sysdeps/unix/sysv/linux/m68k/bits/fcntl.h

index a84d33572de94de3de8c3e838e24a53735ab6d80..7d1197a8eacac8db5ef7e4b028db2a39fba2808e 100644 (file)
@@ -171,3 +171,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
index 152858d9f64ea7c5c15764fd0abbfc6d481b9405..ce17d68038ca1d4bcf9bfb9d13ebb105f49ac65a 100644 (file)
@@ -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
index 7e841f831a6e4abdafe6ddab126fc31d21b4239f..69ce6a506b5af0190d3fddceff414f13c196c103 100644 (file)
@@ -177,3 +177,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
index fca17b1b771e01cd542782c528f232257b8b0e08..6f13871d832de2d00a98fe21ceae9fdfb03227ce 100644 (file)
@@ -170,3 +170,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
index 7de111adb72e53c0d7bfd5aa72f65ad54c05118e..af7c0ea9ac22b8eeff176adcf318adef0beab5cb 100644 (file)
@@ -177,3 +177,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