add openat64 on linux

This commit is contained in:
Jörg Thalheim 2017-03-25 14:15:57 +01:00
parent 4b6ffe3e30
commit 677b08e2ce
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -917,6 +917,9 @@ extern {
offset: off64_t)
-> *mut ::c_void;
pub fn open64(path: *const c_char, oflag: ::c_int, ...) -> ::c_int;
pub fn openat64(fd: ::c_int,
path: *const c_char,
oflag: ::c_int, ...) -> ::c_int;
pub fn pread64(fd: ::c_int, buf: *mut ::c_void, count: ::size_t,
offset: off64_t) -> ::ssize_t;
pub fn pwrite64(fd: ::c_int, buf: *const ::c_void, count: ::size_t,