Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

cfgetispeed - get input baud rate

&pagelevel(4)&pagelevel

Syntax

#include <termios.h>

speed_t cfgetispeed(const struct termios *termios_p);

Description

cfgetispeed() extracts the input baud rate from the termios structure to which the termios_p argument points. It returns exactly the value in the termios data structure.

Extension
Since different baud rates are not supported by the hardware, it is only relevant whether this
value is zero or non-zero. See tcsetattr() for details. (End)

Return val.

Input baud rate of type speed_t

if successful.

See also

cfgetospeed(), cfsetispeed(), cfsetospeed(), tcgetattr(), termios.h, section“General terminal interface”.