Query: cfsetospeed
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cfsetospeed(3) Library Functions Manual cfsetospeed(3)NAMEcfsetospeed - Sets the output baud rate for a terminalLIBRARYStandard C Library (libc.so, libc.a)SYNOPSIS#include <termios.h> int cfsetospeed( struct termios *termios_p, speed_t speed);STANDARDSInterfaces documented on this reference page conform to industry standards as follows: cfsetospeed(): POSIX.1, XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about industry standards and associated tags.PARAMETERSPoints to a termios structure containing the output baud rate. Specifies the new output baud rate.DESCRIPTIONThe cfsetospeed() function sets the output baud rate stored in the structure pointed to by the termios_p parameter to the speed specified by the speed parameter. The zero baud rate, B0, is used to terminate the connection. If B0 is specified, the modem control lines are no longer asserted. Normally, this disconnects the line. There is no effect on the baud rates set in the hardware or on modem control lines until a subsequent successful call is made to the tcse- tattr() function on the same termios structure.RETURN VALUESUpon successful completion, the cfsetospeed() function returns a value of 0 (zero). Otherwise, a value of -1 is returned.RELATED INFORMATIONFunctions: cfgetispeed(3), cfgetospeed(3), cfsetispeed(3), tcsetattr(3) Files: termios(4) Standards: standards(5) delim off cfsetospeed(3)
Related Man Pages |
---|
cfsetispeed(3c) - opensolaris |
cfsetispeed(3c) - sunos |
cfgetospeed(3c) - hpux |
cfgetispeed(3) - osf1 |
tcgetattr(3) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Solaris USR5610B Setup... |
How to set baude rate of Serial port using setserial or other command |
POSIX method for setting arbitrary (nonstandard) baud rate? |