cfgetospeed(3) — Subroutines
OSF
NAME
cfgetospeed − Gets output baud rate for a terminal
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <termios.h>
speed_t cfgetospeed (
struct termios ∗termios_p );
PARAMETERS
termios_pPoints to a termios structure containing the output baud rate.
DESCRIPTION
The cfgetospeed() function extracts the output baud rate from the termios structure to which the termios_p parameter points.
If the value in the termios structure was not obtained from a successful call to the tcgetattr() function, the behavior is undefined.
NOTES
AES Support Level:
Full use
RETURN VALUES
Upon successful completion, the cfgetospeed() function returns a value of type speed_t representing the output baud rate.
RELATED INFORMATION
Functions: cfgetispeed(3), cfsetispeed(3), cfsetospeed(3), tcgetattr(3)
Files: termios(4)