Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
cfsetispeed(3) OSS Library Calls Reference Manual
NAME
cfsetispeed - Sets the input baud rate for a terminal
LIBRARY
G-series native Guardian processes: system library
G-series native OSS processes: system library
H-series and J-series native Guardian processes: implicit libraries
H-series and J-series OSS processes: implicit libraries
SYNOPSIS
#include <termios.h>
int cfsetispeed(
struct termios *termios_p,
speed_t speed);
PARAMETERS
termios_p Points to a termios structure containing the input baud rate.
speed Specifies 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.
The HP NonStop TCP/IP TELNET Telserv interface used with the OSS version of this function is
a network virtual terminal (NVT) implementation. Setting the input baud rate has no meaning
for such an interface. The new value specified by the speed parameter is stored but has no effect
on Telserv operation.
RETURN VALUES
The cfsetispeed( ) function returns the value 0 (zero).
RELATED INFORMATION
Functions: cfgetispeed(3), cfgetospeed(3), cfsetospeed(3), tcsetattr(3).
Files: termios(4).
1−108 Hewlett-Packard Company 527187-017