Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
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 and J-series native Guardian processes: implicit libraries
H-series and J-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 Specifies 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 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 output 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 cfsetospeed( ) function returns the value 0 (zero).
RELATED INFORMATION
Functions: cfgetispeed(3), cfgetospeed(3), cfsetispeed(3), tcsetattr(3).
Files: termios(4).
527187-017 Hewlett-Packard Company 1−109