CFGETISPEED(3) SysV CFGETISPEED(3)
NAME
cfgetispeed - get input baud rate
SYNOPSIS
#include <termios.h>
speed_t cfgetispeed (termios_p )
const struct termios *termios_p;
DESCRIPTION
The cfgetispeed function extracts the input baud rate from the termios
structure to which the termios_p argument points.
If the value in the termios structure was not obtained from a successful
call to the tcgetattr(3) function, the behavior is undefined.
DIAGNOSTICS
cfgetispeed function returns a value of type speed_t representing the
input baud rate.
SEE ALSO
cfgetospeed(3), cfsetispeed(3), cfsetospeed(3), tcgetattr(3),
tcsetattr(3), termios(7)