pub fn getsid(pid: isize) -> Result<usize, Error>
Return session ID for pid (0 = current process).
pid
0