cfsetispeed(3) — Subroutines
OSF
NAME
cfsetispeed − Sets input baud rate for a terminal
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <termios.h>
int cfsetispeed (
struct termios ∗termios_p,
speed_t speed );
PARAMETERS
termios_pPoints to a termios structure containing the input baud rate.
speedSpecifies the new input baud rate.
DESCRIPTION
The cfsetispeed() function sets the input baud rate stored in the structure pointed to by the termios_p parameter to the value specified by the speed parameter.
If the input baud rate is set to 0 (zero), the input baud rate will be specified by the value of the output baud rate.
There is no effect on the baud rates set in the hardware until a subsequent successful call to the tcsetattr() function on the same termios structure.
NOTES
AES Support Level:
Full use
RETURN VALUES
The cfsetispeed() function returns a value of 0 (zero).
RELATED INFORMATION
Functions: cfgetispeed(3), cfgetospeed(3), cfsetospeed(3), tcsetattr(3)
Files: termios(4)