Add process_vm_readv and process_vm_writev system calls

This commit is contained in:
Julia Evans 2016-05-11 08:44:27 -04:00
parent 6598e2cbfd
commit c9496fe712

View File

@ -613,6 +613,18 @@ extern {
new_limit: *const ::rlimit64,
old_limit: *mut ::rlimit64) -> ::c_int;
pub fn getloadavg(loadavg: *mut ::c_double, nelem: ::c_int) -> ::c_int;
pub fn process_vm_readv(pid: ::pid_t,
local_iov: *const ::iovec,
liovcnt: ::c_ulong,
remote_iov: *const ::iovec,
riovcnt: ::c_ulong,
flags: ::c_ulong) -> isize;
pub fn process_vm_writev(pid: ::pid_t,
local_iov: *const ::iovec,
liovcnt: ::c_ulong,
remote_iov: *const ::iovec,
riovcnt: ::c_ulong,
flags: ::c_ulong) -> isize;
}
cfg_if! {