Function nix::sys::termios::tcgetsid

source ·
pub fn tcgetsid(fd: RawFd) -> Result<Pid>
Available on crate features term and process only.
Expand description

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