Преглед на файлове

Add hint for read ahead function in fcntl.h for AVR32 arch

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Hans-Christian Egtvedt преди 15 години
родител
ревизия
8a040b9b47
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      libc/sysdeps/linux/avr32/bits/fcntl.h

+ 3 - 0
libc/sysdeps/linux/avr32/bits/fcntl.h

@@ -190,6 +190,9 @@ struct flock64 {
 
 __BEGIN_DECLS
 
+/* Provide kernel hint to read ahead. */
+extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count) __THROW;
+
 /* Selective file content synch'ing */
 extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
 			    unsigned int __flags);