summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unix/solarish/illumos.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/solarish/illumos.rs b/src/unix/solarish/illumos.rs
index c495019349..5a8b083668 100644
--- a/src/unix/solarish/illumos.rs
+++ b/src/unix/solarish/illumos.rs
@@ -45,4 +45,8 @@ extern "C" {
opset: *mut ::psetid_t,
) -> ::c_int;
pub fn pset_getloadavg(pset: ::psetid_t, load: *mut ::c_double, num: ::c_int) -> ::c_int;
+
+ pub fn preadv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) -> ::ssize_t;
+ pub fn pwritev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t)
+ -> ::ssize_t;
}