aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/sys/linux-unistd.h
diff options
context:
space:
mode:
authorBruce Beare <bruce.j.beare@intel.com>2011-07-13 10:23:50 -0700
committerBruce Beare <bruce.j.beare@intel.com>2012-01-03 15:18:04 -0800
commite30e909363c5c706f394050d9cd00ce222caadbf (patch)
tree33dcf8fcbca380db7910ff3519cfc4cf362ab917 /libc/include/sys/linux-unistd.h
parenta37f3729730e4e7345977915d67adc3eea93dfe4 (diff)
downloadandroid_bionic-e30e909363c5c706f394050d9cd00ce222caadbf.tar.gz
android_bionic-e30e909363c5c706f394050d9cd00ce222caadbf.tar.bz2
android_bionic-e30e909363c5c706f394050d9cd00ce222caadbf.zip
sreadahead: adding readahead system call into bionic libc
Add bionic libc to support readahead system call. This is needed to enable sreadahead to work. Change-Id: I3856e1a3833db82e6cf42fd34af7631bd40cc723 Author: Winson Yung <winson.w.yung@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Diffstat (limited to 'libc/include/sys/linux-unistd.h')
-rw-r--r--libc/include/sys/linux-unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/include/sys/linux-unistd.h b/libc/include/sys/linux-unistd.h
index ae9077ffb..f06037404 100644
--- a/libc/include/sys/linux-unistd.h
+++ b/libc/include/sys/linux-unistd.h
@@ -20,6 +20,7 @@ gid_t getegid (void);
uid_t getresuid (void);
gid_t getresgid (void);
pid_t gettid (void);
+ssize_t readahead (int, off64_t, size_t);
int getgroups (int, gid_t *);
pid_t getpgid (pid_t);
pid_t getppid (void);