Query: cfsetispeed
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cfsetispeed(3) Library Functions Manual cfsetispeed(3)NAMEcfsetispeed - Sets input baud rate for a terminalLIBRARYStandard C Library (libc.so, libc.a)SYNOPSIS#include <termios.h> int cfsetispeed( struct termios *termios_p; speed_t speed);STANDARDSInterfaces documented on this reference page conform to industry standards as follows: cfsetispeed(): 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 input baud rate. Specifies the new input baud rate.DESCRIPTIONThe cfsetispeed() function sets the input baud rate stored in the structure pointed to by the termios_p parameter to the value specified by the speed parameter. If the input baud rate is set to 0 (zero), the input baud rate will be specified by the value of the output baud rate. There is no effect on the baud rates set in the hardware until a subsequent successful call is made to the tcsetattr() function on the same termios structure.RETURN VALUESUpon successful completion, the cfsetispeed() function returns a value of 0 (zero). Otherwise, a value of -1 is returned.RELATED INFORMATIONFunctions: cfgetispeed(3), cfgetospeed(3), cfsetospeed(3), tcsetattr(3) Files: termios(4) Standards: standards(5) delim off cfsetispeed(3)
Related Man Pages |
---|
cfsetospeed(3c) - opensolaris |
cfsetispeed(3c) - sunos |
cfgetospeed(3c) - hpux |
cfsetospeed(3) - osf1 |
tcgetattr(3) - osf1 |
Similar Topics in the Unix Linux Community |
---|
rate of process |
How to set baude rate of Serial port using setserial or other command |
POSIX method for setting arbitrary (nonstandard) baud rate? |
Serial programming using termios |