aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/fcntl.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-02-03 16:20:46 -0800
committerElliott Hughes <enh@google.com>2014-02-03 16:20:46 -0800
commitf64b8ea09db3bdd84eed59f7721301743332b3fe (patch)
tree6d45a510ee831e1bc154170170afe7c931474ebc /libc/include/fcntl.h
parenta122c376ef0737454a592cf44f50beabe154e9e3 (diff)
downloadandroid_bionic-f64b8ea09db3bdd84eed59f7721301743332b3fe.tar.gz
android_bionic-f64b8ea09db3bdd84eed59f7721301743332b3fe.tar.bz2
android_bionic-f64b8ea09db3bdd84eed59f7721301743332b3fe.zip
Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.
Bug: 5287571 Bug: 12612860 Change-Id: I4501b9c6cdf9a830336ce0b3afc4ea716b6a0f6f
Diffstat (limited to 'libc/include/fcntl.h')
-rw-r--r--libc/include/fcntl.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h
index f6a89efdc..b7b91f233 100644
--- a/libc/include/fcntl.h
+++ b/libc/include/fcntl.h
@@ -41,11 +41,15 @@ __BEGIN_DECLS
#define O_ASYNC FASYNC
#endif
-extern int open(const char* path, int mode, ...);
-extern int openat(int fd, const char* path, int mode, ...);
-extern int unlinkat(int dirfd, const char *pathname, int flags);
-extern int fcntl(int fd, int command, ...);
-extern int creat(const char* path, mode_t mode);
+extern int creat(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 open(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);
#if defined(__BIONIC_FORTIFY)