CFGETOSPEED(3) Library Functions Manual CFGETOSPEED(3)
NAME
cfgetospeed — get
output baud rate
SYNOPSIS
#include <termios.h> speed_t cfgetospeed(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.
This function returns exactly the value in the termios data structure, without interpretation.
RETURN VALUE
Upon successful completion, cfgetospeed() returns a value of type speed_t representing the output baud rate.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
cfgetispeed(3) , cfsetispeed(3) , cfsetospeed(3) , tcgetattr(3) , <termios.h> , the XBD specification, General Terminal Interface .
DERIVATION
Derived from the POSIX.1-1988 standard.
February 1997 posix.fail