CFGETISPEED(3) Library Functions Manual CFGETISPEED(3)

cfgetispeedget input baud rate

#include <termios.h>

speed_t cfgetispeed(const struct termios *termios_p);

The cfgetispeed() function extracts the input baud rate from the termios structure to which the termios_p argument points.

This function returns exactly the value in the data structure, without interpretation.

Upon successful completion, cfgetispeed() returns a value of type speed_t representing the input baud rate.

No errors are defined.

None.

None.

None.

cfgetospeed(3) , cfsetispeed(3) , cfsetospeed(3) , tcgetattr(3) , <termios.h> , the XBD specification, .

Derived from the POSIX.1-1988 standard.

February 1997 posix.fail