[][src]Function linux::syscall::ioctl_tiocsptlck

pub fn ioctl_tiocsptlck(fd: c_int, locked: bool) -> c_int

Executes ioctl with the TIOCSPTLCK option.

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

[argument, locked] Whether the slave is locked.

= See also

  • link:man:tty_ioctl(2)