[][src]Function linux::syscall::ioctl_tiocgdev

pub fn ioctl_tiocgdev(fd: c_int, dev: &mut c_uint) -> c_int

Executes ioctl with the TIOCGDEV option.

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

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

= Remarks

This ioctl is undocumented but see drivers/tty/tty_io.c.