Function nix::unistd::setsid [] [src]

pub fn setsid() -> Result<Pid>

Create new session and set process group id (see setsid(2)).