Executes ioctl with the TIOCGPKT option.
fn ioctl_tiocgpkt(fd: i32, packet: &mut bool) -> i32
The file descriptor on which to operate.
Place where the status of packet mode will be stored.
tty_ioctl(2)