nix::unistd
pub fn setsid() -> Result<pid_t>
Create new session and set process group id (see setsid(2)).