pub fn tcgetsid<Fd: AsFd>(fd: Fd) -> Result<Pid>Expand description
Get the session controlled by the given terminal (see tcgetsid(3)).
pub fn tcgetsid<Fd: AsFd>(fd: Fd) -> Result<Pid>Get the session controlled by the given terminal (see tcgetsid(3)).