Function nix::sys::ptrace::attach

source ·
pub fn attach(pid: Pid) -> Result<()>
Expand description

Attach to a running process, as with ptrace(PTRACE_ATTACH, ...)

Attaches to the process specified in pid, making it a tracee of the calling process.