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

pub fn setsid() -> Result<pid_t>

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