nix::sys::prctl

Function set_pdeathsig

source
pub fn set_pdeathsig<T: Into<Option<Signal>>>(signal: T) -> Result<()>
Expand description

Set the parent-death signal of the calling process. This is the signal that the calling process will get when its parent dies.