Skip to content

Commit a8c1d97

Browse files
committed
Include sendfile64() for Linux
1 parent bc30283 commit a8c1d97

File tree

1 file changed

+6
-0
lines changed
  • src/unix/linux_like/linux

1 file changed

+6
-0
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3230,6 +3230,12 @@ extern "C" {
32303230
offset: *mut off_t,
32313231
count: ::size_t,
32323232
) -> ::ssize_t;
3233+
pub fn sendfile64(
3234+
out_fd: ::c_int,
3235+
in_fd: ::c_int,
3236+
offset: *mut off64_t,
3237+
count: ::size_t,
3238+
) -> ::ssize_t;
32333239
pub fn sigsuspend(mask: *const ::sigset_t) -> ::c_int;
32343240
pub fn getgrgid_r(
32353241
gid: ::gid_t,

0 commit comments

Comments
 (0)