This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Structure for a tty device
typedef struct ttyinit_entry { _Paddr64t port; unsigned port_shift; unsigned intr; int baud; int isize; int osize; int csize; int c_cflag; int c_iflag; int c_lflag; int c_oflag; int fifo; int clk; int div; char name[TTY_NAME_MAX]; { TTYINIT;
A character driver shares the TTYINIT with the io=char library. This structure is used to initialize baud rate, input, output, canonical buffer sizes, termios flags, interrupts, etc.
The members include:
QNX Neutrino