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.


The following sections are informative.

EXAMPLES

None.

APPLICATION USAGE

None.

RATIONALE

Refer to cfgetispeed .

FUTURE DIRECTIONS

None.

SEE ALSO

cfgetispeed , cfsetispeed , cfsetospeed , tcgetattr

XBD 11. General Terminal Interface , <termios.h>

CHANGE HISTORY

First released in Issue 3. Included for alignment with the POSIX.1-1988 standard.

End of informative text.