Executes ioctl with the TIOCPKT option.
fn ioctl_tiocpkt(fd: i32, packet: bool) -> i32
The file descriptor on which to operate.
Whether packet mode is enabled.
tty_ioctl(2)