diff options
author | Elliott Hughes <enh@google.com> | 2014-09-10 17:39:00 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-09-11 08:45:46 -0700 |
commit | b587f339db269abf08a2c311a7263dd218cb23d3 (patch) | |
tree | 18fd8a53623d63cae5e98d5aeb59a8aefaa853c2 /libc/include/fcntl.h | |
parent | c71483c0b38a6b4f2675f0bffa221dcf175c34ac (diff) | |
download | android_bionic-b587f339db269abf08a2c311a7263dd218cb23d3.tar.gz android_bionic-b587f339db269abf08a2c311a7263dd218cb23d3.tar.bz2 android_bionic-b587f339db269abf08a2c311a7263dd218cb23d3.zip |
Add posix_fadvise(3).
(cherry-pick of 00008263782e484020420c606f7d145fe7d0a4d8.)
Bug: 12449798
Change-Id: I07cbf3f670a0d1304b68148325a774f266b5c433
Diffstat (limited to 'libc/include/fcntl.h')
-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 32557d958..87c848163 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); |