Open System Services Library Calls Reference Manual (G06.27+, H06.04+)

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 native Guardian processes: implicit libraries
H-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 Species 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 specied 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 specied 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).
142 Hewlett-Packard Company 527187-004