Function nix::sys::ptrace::getregs
pub fn getregs(pid: Pid) -> Result<user_regs_struct>
The portability is definied by:
#[cfg(all(target_os = "linux",
any(all(target_arch = "x86_64", any(target_env = "gnu", target_env = "musl")),
all(target_arch = "x86", target_env = "gnu"))))]
Documentation
Get user registers, as with ptrace(PTRACE_GETREGS, ...)