Open System Services Library Calls Reference Manual (G06.28+, H06.05+)

OSS Library Calls (a - d) cfsetospeed(3)
NAME
cfsetospeed - Sets the output 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 cfsetospeed(
struct termios *termios_p,
speed_t speed);
PARAMETERS
termios_p Points to a termios structure containing the output baud rate.
speed Species the new output baud rate.
DESCRIPTION
The cfsetospeed() function sets the output 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 output 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 cfsetospeed() function returns the value 0 (zero).
RELATED INFORMATION
Functions: cfgetispeed(3), cfgetospeed(3), cfsetispeed(3), tcsetattr(3).
Files: termios(4).
527187-007 Hewlett-Packard Company 147