nix::sys::ptrace

Function read_user

Source
pub fn read_user(pid: Pid, offset: AddressType) -> Result<c_long>
Expand description

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