DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Terminal device control

Baud rates

The structure termios stores the input and output baud-rates in c_cflag. The table below shows symbolic names defined in <termios.h> and the baud-rate each represents:

Name Description
B0 hang up
B50 50 baud
B75 75 baud
B110 110 baud
B134 134.5 baud
B150 150 baud
B200 200 baud
B300 300 baud
B600 600 baud
B1200 1200 baud
B1800 1800 baud
B2400 2400 baud
B4800 4800 baud
B9600 9600 baud
B19200 19200 baud
B38400 38400 baud

Note that the zero baud-rate, B0, is used to terminate the connection. If B0 is specified, the modem control lines are no longer asserted; normally, this disconnects the line (see cfsetospeed and tcsetattr in termios(3C)):

The termios structure members c_iflag, c_oflag, c_cflag and c_lflag take as values the bitwise inclusive-OR of bitwise distinct masks with symbolic names defined by the <termios.h> header file (see termio(7)).


Next topic: Input modes
Previous topic: Terminal device control functions

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004