Skip to content

Commit

Permalink
Auto merge of #2491 - devnexen:solarish_sendfile, r=JohnTitor
Browse files Browse the repository at this point in the history
sendfile fn for solarish systems
  • Loading branch information
bors committed Oct 30, 2021
2 parents a230d2e + b86b7dc commit 9ae849a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unix/solarish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2772,6 +2772,9 @@ extern "C" {

pub fn getpflags(flags: ::c_uint) -> ::c_uint;
pub fn setpflags(flags: ::c_uint, value: ::c_uint) -> ::c_int;

pub fn sendfile(out_fd: ::c_int, in_fd: ::c_int, off: *mut ::off_t, len: ::size_t)
-> ::ssize_t;
}

mod compat;
Expand Down

0 comments on commit 9ae849a

Please sign in to comment.