Skip to content

Commit 81e3af2

Browse files
committed
Auto merge of #283 - jvns:add_process_vm_readv, r=alexcrichton
Add notbsd process_vm_readv and process_vm_writev system calls
2 parents 6598e2c + c9496fe commit 81e3af2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/unix/notbsd/linux/mod.rs

+12
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,18 @@ extern {
613613
new_limit: *const ::rlimit64,
614614
old_limit: *mut ::rlimit64) -> ::c_int;
615615
pub fn getloadavg(loadavg: *mut ::c_double, nelem: ::c_int) -> ::c_int;
616+
pub fn process_vm_readv(pid: ::pid_t,
617+
local_iov: *const ::iovec,
618+
liovcnt: ::c_ulong,
619+
remote_iov: *const ::iovec,
620+
riovcnt: ::c_ulong,
621+
flags: ::c_ulong) -> isize;
622+
pub fn process_vm_writev(pid: ::pid_t,
623+
local_iov: *const ::iovec,
624+
liovcnt: ::c_ulong,
625+
remote_iov: *const ::iovec,
626+
riovcnt: ::c_ulong,
627+
flags: ::c_ulong) -> isize;
616628
}
617629

618630
cfg_if! {

0 commit comments

Comments
 (0)