Skip to content

Commit 9ae849a

Browse files
committed
Auto merge of #2491 - devnexen:solarish_sendfile, r=JohnTitor
sendfile fn for solarish systems
2 parents a230d2e + b86b7dc commit 9ae849a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/solarish/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -2772,6 +2772,9 @@ extern "C" {
27722772

27732773
pub fn getpflags(flags: ::c_uint) -> ::c_uint;
27742774
pub fn setpflags(flags: ::c_uint, value: ::c_uint) -> ::c_int;
2775+
2776+
pub fn sendfile(out_fd: ::c_int, in_fd: ::c_int, off: *mut ::off_t, len: ::size_t)
2777+
-> ::ssize_t;
27752778
}
27762779

27772780
mod compat;

0 commit comments

Comments
 (0)