Function getsid

Source
pub unsafe fn getsid(pid: pid_t) -> Result<pid_t>
Expand description

Get the session ID of a process, or of the current process if pid is zero.