diff options
author | Elliott Hughes <enh@google.com> | 2014-09-10 17:39:00 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-09-10 20:30:23 -0700 |
commit | 00008263782e484020420c606f7d145fe7d0a4d8 (patch) | |
tree | 54c08439fe7247e27d94a1440348beab0ef8f16a /libc/include | |
parent | 7efad83d430f4d824f2aaa75edea5106f6ff8aae (diff) | |
download | bionic-00008263782e484020420c606f7d145fe7d0a4d8.zip bionic-00008263782e484020420c606f7d145fe7d0a4d8.tar.gz bionic-00008263782e484020420c606f7d145fe7d0a4d8.tar.bz2 |
Add posix_fadvise(3).
Bug: 12449798
Change-Id: I07cbf3f670a0d1304b68148325a774f266b5c433
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/fcntl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h index 4450bb6..8f89afb 100644 --- a/libc/include/fcntl.h +++ b/libc/include/fcntl.h @@ -72,6 +72,8 @@ extern int openat(int, const char*, int, ...); extern int openat64(int, const char*, int, ...); extern int open(const char*, int, ...); extern int open64(const char*, int, ...); +extern int posix_fadvise64(int, off64_t, off64_t, int); +extern int posix_fadvise(int, off_t, off_t, int); extern int posix_fallocate64(int, off64_t, off64_t); extern int posix_fallocate(int, off_t, off_t); extern ssize_t splice(int, off64_t*, int, off64_t*, size_t, unsigned int); |