rustix::termios

Function tcgetsid

source
pub fn tcgetsid<Fd: AsFd>(fd: Fd) -> Result<Pid>
Expand description

tcgetsid(fd)—Return the session ID of the current session with fd as its controlling terminal.

§References