Make `pwrite64` available on uclibc

This commit is contained in:
JohnTitor 2021-03-30 15:19:36 +09:00
parent f913fc53a6
commit 7a3e51a770
1 changed files with 6 additions and 6 deletions

View File

@ -1546,6 +1546,12 @@ extern "C" {
count: ::size_t,
offset: off64_t,
) -> ::ssize_t;
pub fn pwrite64(
fd: ::c_int,
buf: *const ::c_void,
count: ::size_t,
offset: off64_t,
) -> ::ssize_t;
pub fn readdir64(dirp: *mut ::DIR) -> *mut ::dirent64;
pub fn readdir64_r(
dirp: *mut ::DIR,
@ -1677,12 +1683,6 @@ cfg_if! {
iovcnt: ::c_int,
offset: ::off64_t,
) -> ::ssize_t;
pub fn pwrite64(
fd: ::c_int,
buf: *const ::c_void,
count: ::size_t,
offset: off64_t,
) -> ::ssize_t;
pub fn pwritev64(
fd: ::c_int,
iov: *const ::iovec,