Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

cfgetospeed - get output baud rate

&pagelevel(4)&pagelevel

Syntax

#include <termios.h>

speed_t cfgetospeed(const struct termios *termios_p);

Description

cfgetospeed() extracts the output baud rate from the termios structure to which the termios_p argument points. It returns exactly the value in the termios data structure.

Return val.

Output baud rate of type speed_t

if successful.

Extension
Since different baud rates are not supported by the hardware, it is only relevant whether this
value is zero or non-zero. See tcsetattr() for details. (End)

See also

cfgetispeed(), cfsetispeed(), cfsetospeed(), tcgetattr(), termios.h, section“General terminal interface”.