Skip to content

Commit

Permalink
Auto merge of #283 - jvns:add_process_vm_readv, r=alexcrichton
Browse files Browse the repository at this point in the history
Add notbsd process_vm_readv and process_vm_writev system calls
  • Loading branch information
bors committed May 12, 2016
2 parents 6598e2c + c9496fe commit 8e8a251
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/unix/notbsd/linux/mod.rs
Original file line number Diff line number Diff line change
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 8e8a251

Please sign in to comment.