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 shall extract
the output baud rate from the termios structure to which
the
termios_p
argument points.
This function shall return exactly the value in the termios data structure, without interpretation.
RETURN VALUE
Upon successful completion, cfgetospeed ()
shall return a value of type
speed_t
representing the output baud rate.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
RATIONALE
Refer to cfgetispeed(3).
FUTURE DIRECTIONS
None.
SEE ALSO
cfgetispeed(3), cfsetispeed(3), cfsetospeed(3), tcgetattr(3)
XBD V1_chap11(7), <termios.h>
CHANGE HISTORY
First released in Issue 3. Included for alignment with the POSIX.1-1988 standard.
June 14, 2024 posix.fail