Skip to content

Commit 60df216

Browse files
committed
Add process_vm_readv and process_vm_writev system calls
1 parent 19fd504 commit 60df216

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/unix/notbsd/mod.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,18 @@ extern {
800800
pub fn setrlimit64(resource: ::c_int, rlim: *const rlimit64) -> ::c_int;
801801
pub fn stat64(path: *const c_char, buf: *mut stat64) -> ::c_int;
802802
pub fn eventfd(init: ::c_uint, flags: ::c_int) -> ::c_int;
803+
pub fn process_vm_readv(pid: ::pid_t,
804+
local_iov: *const ::iovec,
805+
liovcnt: ::c_ulong,
806+
remote_iov: *const ::iovec,
807+
riovcnt: ::c_ulong,
808+
flags: ::c_ulong) -> isize;
809+
pub fn process_vm_writev(pid: ::pid_t,
810+
local_iov: *const ::iovec,
811+
liovcnt: ::c_ulong,
812+
remote_iov: *const ::iovec,
813+
riovcnt: ::c_ulong,
814+
flags: ::c_ulong) -> isize;
803815
}
804816

805817
cfg_if! {

0 commit comments

Comments
 (0)