Skip to content

Commit

Permalink
Include sendfile64() for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nroi committed Oct 20, 2020
1 parent bc30283 commit a8c1d97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/unix/linux_like/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3230,6 +3230,12 @@ extern "C" {
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 sigsuspend(mask: *const ::sigset_t) -> ::c_int;
pub fn getgrgid_r(
gid: ::gid_t,
Expand Down

0 comments on commit a8c1d97

Please sign in to comment.