Function tcgetsid

fn tcgetsid<Fd: AsFd>(fd: Fd) -> Result<Pid>

Get the session controlled by the given terminal (see tcgetsid(3)).