Function nix::sys::ptrace::attach

source ·
pub fn attach(pid: Pid) -> Result<()>
Available on crate feature ptrace only.
Expand description

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

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