pub fn getsid(pid: Option<Pid>) -> Result<Pid, Errno> ⓘ
dep_rustix
getsid(pid)—Get the session ID of the given process.
getsid(pid)