Function nix::sys::ptrace::write

source ·
pub unsafe fn write(pid: Pid, addr: AddressType, data: *mut c_void) -> Result<()>
Available on crate feature ptrace only.
Expand description

Writes a word into the processes memory at the given address

Safety

The data argument is passed directly to ptrace(2). Read that man page for guidance.