[go: up one dir, main page]

Function write_user

Source
pub fn write_user(pid: Pid, offset: AddressType, data: c_long) -> Result<()>
Available on crate feature ptrace only.
Expand description

Writes a word to a user area at offset, as with ptrace(PTRACE_POKEUSER, …). The user struct definition can be found in /usr/include/sys/user.h.