Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/character/lib/ttyinit.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/character/lib/ttyinit.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/character/lib/ttyinit.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/character/lib/ttyinit.html on line 8

TTYINIT

Structure for a tty device

Synopsis:

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;

Description:

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:

port
Contains addresses of device registers.
port_shift
Used to provide spacing between registers. For example:
intr
The interrupt number associated with the device.
baud
The device's baud rate.
isize
The input buffer size.
osize
The output buffer size.
csize
The canonical buffer size.
c_cflag
See TTYDEV.
c_iflag
See TTYDEV.
c_lflag
See TTYDEV.
c_oflag
See TTYDEV.
fifo
See TTYDEV.
clk
The clock frequency is used with baud rate and divisor in stty.
div
The divisor is used with baud rate and clock in stty.
name
The name of the device.

Classification:

QNX Neutrino

See also:

TTYDEV


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/character/lib/ttyinit.html on line 152

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/character/lib/ttyinit.html on line 152