diff options
author | Elliott Hughes <enh@google.com> | 2014-02-27 00:52:35 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-02-27 00:52:36 +0000 |
commit | 000ffd8ab0b4112173ce319869f4111f08fbe975 (patch) | |
tree | c8c7ac5eaccca49d12b0da572c75705a713bf2a1 | |
parent | 3ba62f733bdc39262a5a9927a6ebaa29a4f4aad4 (diff) | |
parent | 3434727b3ece18d90894c3f8d9ffd000a00c9c50 (diff) | |
download | android_bionic-000ffd8ab0b4112173ce319869f4111f08fbe975.tar.gz android_bionic-000ffd8ab0b4112173ce319869f4111f08fbe975.tar.bz2 android_bionic-000ffd8ab0b4112173ce319869f4111f08fbe975.zip |
Merge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants."
-rw-r--r-- | libc/include/fcntl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h index e37e0a77b..779a089f0 100644 --- a/libc/include/fcntl.h +++ b/libc/include/fcntl.h @@ -41,6 +41,10 @@ __BEGIN_DECLS #define O_ASYNC FASYNC #endif +#define SYNC_FILE_RANGE_WAIT_BEFORE 1 +#define SYNC_FILE_RANGE_WRITE 2 +#define SYNC_FILE_RANGE_WAIT_AFTER 4 + extern int creat(const char*, mode_t); extern int creat64(const char*, mode_t); extern int fallocate64(int, int, off64_t, off64_t); |