Skip to content

Commit 96c872c

Browse files
committed
Auto merge of rust-lang#784 - Mic92:largefilesupport, r=alexcrichton
Add fstatat64 on Linux/Android
2 parents 5ee53b0 + df64b41 commit 96c872c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/notbsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,8 @@ extern {
908908
pub fn uselocale(loc: ::locale_t) -> ::locale_t;
909909
pub fn creat64(path: *const c_char, mode: mode_t) -> ::c_int;
910910
pub fn fstat64(fildes: ::c_int, buf: *mut stat64) -> ::c_int;
911+
pub fn fstatat64(dirfd: ::c_int, pathname: *const c_char,
912+
buf: *mut stat64, flags: ::c_int) -> ::c_int;
911913
pub fn ftruncate64(fd: ::c_int, length: off64_t) -> ::c_int;
912914
pub fn getrlimit64(resource: ::c_int, rlim: *mut rlimit64) -> ::c_int;
913915
pub fn lseek64(fd: ::c_int, offset: off64_t, whence: ::c_int) -> off64_t;

0 commit comments

Comments
 (0)