CFGETOSPEED(3) BSD CFGETOSPEED(3)
NAME
cfgetospeed - get output baud rate
SYNOPSIS
#include <termios.h>
speed_t cfgetospeed (termios_p )
const struct termios *termios_p;
DESCRIPTION
The cfgetospeed function extracts the output baud rate from the termios
structure to which the termios_p argument points.
If the value in the termios structure was not obtained from a successful
call to the tcgetattr(3) function, the behavior is undefined.
DIAGNOSTICS
cfgetospeed function returns a value of type speed_t representing the
output baud rate.
SEE ALSO
cfgetispeed(3), cfsetispeed(3), cfsetospeed(3), tcgetattr(3),
tcsetattr(3) termios(4)