[][src]Function linux::syscall::ioctl_tiocgsid

pub fn ioctl_tiocgsid(fd: c_int, id: &mut pid_t) -> c_int

Executes ioctl with the TIOCGSID option.

[argument, fd] The file descriptor on which to operate.

[argument, id] Place where the session id of the terminal will be stored.

= See also

  • link:man:tty_ioctl(2)