aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/fcntl.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-09-23 17:34:29 -0700
committerElliott Hughes <enh@google.com>2014-09-23 18:21:52 -0700
commit31165edf5733dae8fbe79551b18cbc0e56c8d808 (patch)
treee7ed184d94540342f16514a84e02c1f8d38882db /libc/include/fcntl.h
parent87b6906f6e0c17b2541535be8e054324cc2fef4a (diff)
downloadandroid_bionic-31165edf5733dae8fbe79551b18cbc0e56c8d808.tar.gz
android_bionic-31165edf5733dae8fbe79551b18cbc0e56c8d808.tar.bz2
android_bionic-31165edf5733dae8fbe79551b18cbc0e56c8d808.zip
CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps.
Change-Id: I74ea88e0d4973d6ab3c57da7d8bb643c31592b14
Diffstat (limited to 'libc/include/fcntl.h')
-rw-r--r--libc/include/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h
index db56ce3ca..f57c320f7 100644
--- a/libc/include/fcntl.h
+++ b/libc/include/fcntl.h
@@ -46,6 +46,7 @@ __BEGIN_DECLS
#endif
#define O_ASYNC FASYNC
+#define O_RSYNC O_SYNC
#define SPLICE_F_MOVE 1
#define SPLICE_F_NONBLOCK 2