Skip to content

Commit

Permalink
Add process_vm_readv and process_vm_writev system calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jvns committed May 12, 2016
1 parent 6598e2c commit c9496fe
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/unix/notbsd/linux/mod.rs
Expand Up @@ -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! {
Expand Down

0 comments on commit c9496fe

Please sign in to comment.