commit | 000ffd8ab0b4112173ce319869f4111f08fbe975 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Feb 27 00:52:35 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Feb 27 00:52:36 2014 +0000 |
tree | c8c7ac5eaccca49d12b0da572c75705a713bf2a1 | |
parent | 3ba62f733bdc39262a5a9927a6ebaa29a4f4aad4 [diff] | |
parent | 3434727b3ece18d90894c3f8d9ffd000a00c9c50 [diff] |
Merge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants."
diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h index e37e0a7..779a089 100644 --- a/libc/include/fcntl.h +++ b/libc/include/fcntl.h
@@ -41,6 +41,10 @@ #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);