Skip to content

Commit 02a3860

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 19fd504 + 1931ee4 commit 02a3860

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/unix/notbsd/linux/mod.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,18 @@ extern {
612612
resource: ::c_int,
613613
new_limit: *const ::rlimit64,
614614
old_limit: *mut ::rlimit64) -> ::c_int;
615+
pub fn process_vm_readv(pid: ::pid_t,
616+
local_iov: *const ::iovec,
617+
liovcnt: ::c_ulong,
618+
remote_iov: *const ::iovec,
619+
riovcnt: ::c_ulong,
620+
flags: ::c_ulong) -> isize;
621+
pub fn process_vm_writev(pid: ::pid_t,
622+
local_iov: *const ::iovec,
623+
liovcnt: ::c_ulong,
624+
remote_iov: *const ::iovec,
625+
riovcnt: ::c_ulong,
626+
flags: ::c_ulong) -> isize;
615627
}
616628

617629
cfg_if! {

0 commit comments

Comments
 (0)