cfsetospeed man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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 terminate  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 possi‐
			     ble 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)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net