Get the session id of a process.
fn getsid(pid: i32) -> i32
The process whose session id to return.
getsid(2)