pub unsafe fn write(
    pid: Pid,
    addr: *mut c_void,
    data: *mut c_void
) -> Result<(), Errno>
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.