Function termios::tcgetsid [−][src]
pub fn tcgetsid(fd: RawFd) -> pid_t
Expand description
Returns the process group ID of the controlling terminal’s session.
Parameters
fd
should be an open file descriptor associated with a controlling terminal.