cfgetospeed - Man Page

get output baud rate

Prolog

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.

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()

The Base Definitions volume of POSIX.1-2017, Chapter 11, General Terminal Interface, <termios.h>

Referenced By

cfgetispeed(3p), cfsetispeed(3p), cfsetospeed(3p), termios.h(0p).

2017 IEEE/The Open Group POSIX Programmer's Manual