cfgetospeed man page

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.

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.

Rationale

Refer to cfgetispeed().

See Also

cfgetispeed(), cfsetispeed(), cfsetospeed(), tcgetattr()

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

Info

2013 IEEE/The Open Group POSIX Programmer's Manual