cfgetospeed

Synopsis

#include <termios.h>

speed_t cfgetospeed(const struct termios *termios_p);

Status

Implemented

Conformance

IEEE Std 1003.1-2017

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.

POSIX deviations

No POSIX deviations discovered.