Set or clear packet mode
#include <sys/ioctl.h> #define TIOCPKT _IOW('t', 112, int)
Argument | Value |
---|---|
fd | A file descriptor that you obtained by opening the device |
request | TIOCPKT |
Additional argument | A pointer to an int |
This command sets or clears packet mode.
A combination of the following bits:
#define TIOCPKT_DATA 0x00 /* data packet */ #define TIOCPKT_FLUSHREAD 0x01 /* flush packet */ #define TIOCPKT_FLUSHWRITE 0x02 /* flush packet */ #define TIOCPKT_STOP 0x04 /* stop output */ #define TIOCPKT_START 0x08 /* start output */ #define TIOCPKT_NOSTOP 0x10 /* no more ^S, ^Q */ #define TIOCPKT_DOSTOP 0x20 /* now do ^S ^Q */ #define TIOCPKT_IOCTL 0x40 /* state change of pty driver */
None.
ioctl() in the QNX Neutrino C Library Reference