hpux man page for cfspeed

Query: cfspeed

OS: hpux

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

cfspeed(3C)															       cfspeed(3C)

NAME
cfgetospeed(), cfsetospeed(), cfgetispeed(), cfsetispeed() - tty baud rate functions
SYNOPSIS
DESCRIPTION
These functions set and get the input and output speed codes in the termios structure referenced by termios_p. The termios structure con- tains these speed codes representing input and output baud rates as well as other terminal related parameters. Setting the parameters on a terminal file does not become effective until is successfully called. returns the output speed code from the termios structure referenced by termios_p. sets the output speed code in the termios structure referenced by termios_p to speed. The speed code for a baud rate of zero, is used to termi- nate the connection. If is specified, the modem control lines are no longer asserted, which normally discon- nects the line. returns the input speed code from the termios structure referenced by termios_p. sets the input speed code in the termios structure referenced by termios_p to speed.
RETURN VALUE
returns the output speed code from the termios structure referenced by termios_p. returns the input speed code from the termios structure referenced by termios_p. and return zero upon successful completion. Otherwise, they return -1 and set to indicate the error.
ERRORS
and fail when the following condition is encountered: [EINVAL] The value of speed is outside the range of possible speed codes as specified in
WARNINGS
and can be used to set speed codes in the termios structure that are not supported by the terminal hardware.
SEE ALSO
tcattribute(3C), thread_safety(5), termio(7).
STANDARDS CONFORMANCE
cfspeed(3C)
Related Man Pages
cfsetospeed(3c) - opensolaris
cfgetispeed(3c) - hpux
cfgetospeed(3c) - hpux
cfsetispeed(3c) - hpux
cfsetospeed(3c) - hpux
Similar Topics in the Unix Linux Community
network speed is slow
Network speed on HPUX
TCP/IP speed
A script that read specific fileds from the 7th line in a file
Trying to verify actual switchport speed