diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-11-03 15:48:07 +0000 |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-11-03 15:48:07 +0000 |
commit | 8a040b9b47081e2a1dde565b97dd81a191b41c01 (patch) | |
tree | 5fd3473b615c68d7d723a89a16a88135219c8fac | |
parent | 241a9a4cee948509b9c97b1bee1192a9ee50c686 (diff) |
Add hint for read ahead function in fcntl.h for AVR32 arch
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
-rw-r--r-- | libc/sysdeps/linux/avr32/bits/fcntl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/avr32/bits/fcntl.h b/libc/sysdeps/linux/avr32/bits/fcntl.h index 6dcb61ba7..df3eae871 100644 --- a/libc/sysdeps/linux/avr32/bits/fcntl.h +++ b/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); |