[−][src]Function linux::syscall::ioctl_tiocgptlck
pub fn ioctl_tiocgptlck(fd: c_int, locked: &mut bool) -> c_int
Executes ioctl with the TIOCGPTLCK option.
[argument, fd] The file descriptor on which to operate.
[argument, locked] Place where the lock status will be stored.
= See also
- link:man:tty_ioctl(2)