cfgetospeed()

return output baud rate 

Function


SYNOPSIS

#include <termios.h>

speed_t cfgetospeed(const struct termios *termios_p);


DESCRIPTION

The cfgetospeed() function returns the output baud rate from the termios structure referenced by termios_p, without interpretation.


PARAMETERS

termios_p 

Points to a termios structure.


RETURN VALUES

cfgetospeed() returns the output bps rate from the termios structure. It returns -1 and sets errno to EFAULT if the termios_p refers to an invalid address.


CONFORMANCE

POSIX.1 (1996).


MULTITHREAD SAFETY LEVEL

Async-signal-safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
cfgetispeed(), cfsetispeed(), cfsetospeed()

Miscellaneous:
struct termios


PTC MKS Toolkit 10.4 Documentation Build 39.