[][src]Function nc::setsid

pub fn setsid() -> Result<pid_t, Errno>

Create a new session if the calling process is not a process group leader.