nix::sys::termios

Function tcgetsid

Source
pub fn tcgetsid(fd: RawFd) -> Result<Pid>
Expand description

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