Skip to content

Commit

Permalink
Auto merge of #3271 - devnexen:android_sendfile, r=JohnTitor
Browse files Browse the repository at this point in the history
android adding sendfile64 variant
  • Loading branch information
bors committed Jun 24, 2023
2 parents b5e3a8a + cee1dec commit 1e8943d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/unix/linux_like/android/mod.rs
Expand Up @@ -3414,7 +3414,13 @@ extern "C" {
pub fn sendfile(
out_fd: ::c_int,
in_fd: ::c_int,
offset: *mut off_t,
offset: *mut ::off_t,
count: ::size_t,
) -> ::ssize_t;
pub fn sendfile64(
out_fd: ::c_int,
in_fd: ::c_int,
offset: *mut ::off64_t,
count: ::size_t,
) -> ::ssize_t;
pub fn setfsgid(gid: ::gid_t) -> ::c_int;
Expand Down

0 comments on commit 1e8943d

Please sign in to comment.