svn commit: trunk/uClibc/libc/sysdeps/linux/avr32/bits

egtvedt at uclibc.org egtvedt at uclibc.org
Mon Nov 3 15:48:07 UTC 2008


Author: egtvedt
Date: 2008-11-03 07:48:07 -0800 (Mon, 03 Nov 2008)
New Revision: 23915

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

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>



Modified:
   trunk/uClibc/libc/sysdeps/linux/avr32/bits/fcntl.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/avr32/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/avr32/bits/fcntl.h	2008-11-03 15:46:30 UTC (rev 23914)
+++ trunk/uClibc/libc/sysdeps/linux/avr32/bits/fcntl.h	2008-11-03 15:48:07 UTC (rev 23915)
@@ -190,6 +190,9 @@
 
 __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);




More information about the uClibc-cvs mailing list