pub unsafe fn write_user(
    pid: Pid,
    offset: AddressType,
    data: *mut c_void
) -> Result<()>
Expand description

Writes a word to a user area at offset. The user struct definition can be found in /usr/include/sys/user.h.

Safety

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