summaryrefslogtreecommitdiff
path: root/src/unix/uclibc/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/uclibc/mod.rs')
-rw-r--r--src/unix/uclibc/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/uclibc/mod.rs b/src/unix/uclibc/mod.rs
index e3606c2266..5a947fddd6 100644
--- a/src/unix/uclibc/mod.rs
+++ b/src/unix/uclibc/mod.rs
@@ -1634,6 +1634,8 @@ extern {
pub fn uselocale(loc: ::locale_t) -> ::locale_t;
pub fn creat64(path: *const c_char, mode: mode_t) -> ::c_int;
pub fn fstat64(fildes: ::c_int, buf: *mut stat64) -> ::c_int;
+ pub fn fstatat64(fildes: ::c_int, path: *const ::c_char,
+ buf: *mut stat64, flag: ::c_int) -> ::c_int;
pub fn ftruncate64(fd: ::c_int, length: off64_t) -> ::c_int;
pub fn getrlimit64(resource: ::c_int, rlim: *mut rlimit64) -> ::c_int;
pub fn lseek64(fd: ::c_int, offset: off64_t, whence: ::c_int) -> off64_t;
@@ -1853,6 +1855,8 @@ extern {
pub fn seekdir(dirp: *mut ::DIR, loc: ::c_long);
+ pub fn dirfd(dirp: *mut ::DIR) -> ::c_int;
+
pub fn telldir(dirp: *mut ::DIR) -> ::c_long;
pub fn madvise(addr: *mut ::c_void, len: ::size_t, advice: ::c_int)
-> ::c_int;