diff options
Diffstat (limited to 'libc/bionic/lfs64_support.cpp')
-rw-r--r-- | libc/bionic/lfs64_support.cpp | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/libc/bionic/lfs64_support.cpp b/libc/bionic/lfs64_support.cpp index ab795f5..45d4f7f 100644 --- a/libc/bionic/lfs64_support.cpp +++ b/libc/bionic/lfs64_support.cpp @@ -17,11 +17,20 @@ #include <ftw.h> #include <stdlib.h> -int mkstemp64(char* filename) { - // Delegation will work in this case because all the transitive dependencies - // are already 64-bit ready. In particular, we don't have non-O_LARGEFILE - // open (our open is actually open64) and stat and stat64 are the same. - return mkstemp(filename); +// Delegation will work in these cases because all the transitive dependencies +// are already 64-bit ready. In particular, we don't have non-O_LARGEFILE +// open (our open is actually open64) and stat and stat64 are the same. +int mkstemp64(char* path) { + return mkstemp(path); +} +int mkostemp64(char* path, int flags) { + return mkostemp(path, flags); +} +int mkstemps64(char* path, int suffix_length) { + return mkstemps(path, suffix_length); +} +int mkostemps64(char* path, int suffix_length, int flags) { + return mkostemps(path, suffix_length, flags); } typedef int (*ftw_fn)(const char*, const struct stat*, int); |