cfgetispeed()

return input baud rate 

Function


SYNOPSIS

#include <termios.h>

speed_t cfgetispeed(const struct termios *termios_p);


DESCRIPTION

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


PARAMETERS

termios_p 

Points to a termios structure.


RETURN VALUES

cfgetispeed() returns the input baud rate from the termio 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:
cfgetospeed(), cfsetispeed(), cfsetospeed()

Miscellaneous:
struct termios


PTC MKS Toolkit 10.4 Documentation Build 39.