summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-19/arch-x86_64/usr/include/fcntl.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-03-22 18:02:10 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-03-22 18:02:10 +0800
commitb193073d2e5369d848d2135d5a2f642f3242cf0e (patch)
treed94f5455cc8f1c29348a5564b6b93f2612b9befa /9/platforms/android-19/arch-x86_64/usr/include/fcntl.h
parent25ac1196d47cea8ab0d26f6ca692034990f61233 (diff)
downloadprebuilts_ndk-b193073d2e5369d848d2135d5a2f642f3242cf0e.zip
prebuilts_ndk-b193073d2e5369d848d2135d5a2f642f3242cf0e.tar.gz
prebuilts_ndk-b193073d2e5369d848d2135d5a2f642f3242cf0e.tar.bz2
Update 64-bit headers/libs
Change-Id: I8b1908261c49eafa97f3df174c18b09c1a3d9090
Diffstat (limited to '9/platforms/android-19/arch-x86_64/usr/include/fcntl.h')
-rw-r--r--9/platforms/android-19/arch-x86_64/usr/include/fcntl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/9/platforms/android-19/arch-x86_64/usr/include/fcntl.h b/9/platforms/android-19/arch-x86_64/usr/include/fcntl.h
index b7b91f2..779a089 100644
--- a/9/platforms/android-19/arch-x86_64/usr/include/fcntl.h
+++ b/9/platforms/android-19/arch-x86_64/usr/include/fcntl.h
@@ -41,12 +41,19 @@ __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);
extern int fallocate(int, int, off_t, off_t);
extern int fcntl(int, int, ...);
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_fallocate64(int, off64_t, off64_t);
extern int posix_fallocate(int, off_t, off_t);
extern int unlinkat(int, const char*, int);