pub fn tcgetsid<Fd: AsFd>(fd: Fd) -> Result<Pid>
Available on crate features
term
and process
only.Expand description
Get the session controlled by the given terminal (see tcgetsid(3)).
pub fn tcgetsid<Fd: AsFd>(fd: Fd) -> Result<Pid>
term
and process
only.Get the session controlled by the given terminal (see tcgetsid(3)).