Function nix::sys::termios::tcgetsid[][src]

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

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