[][src]Function linux::syscall::ioctl_tiocgptn

pub fn ioctl_tiocgptn(fd: c_int, id: &mut u32) -> c_int

Executes ioctl with the TIOCGPTN option.

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

[argument, id] A place into which the slave id will be stored.

= See also

  • link:man:tty_ioctl(2)