Query: cfgetispeed
OS: sunos
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cfgetispeed(3C) Standard C Library Functions cfgetispeed(3C)NAMEcfgetispeed, cfgetospeed - get input and output baud rateSYNOPSIS#include <termios.h> speed_t cfgetispeed(const struct termios *termios_p); speed_t cfgetospeed(const struct termios *termios_p);DESCRIPTIONThe cfgetispeed() function extracts the input baud rate from the termios structure to which the termios_p argument points. The cfgetospeed() function extracts the output baud rate from the termios structure to which the termios_p argument points. These functions returns exactly the value in the termios data structure, without interpretation.RETURN VALUESUpon successful completion, cfgetispeed() returns a value of type speed_t representing the input baud rate. Upon successful completion, cfgetospeed() returns a value of type speed_t representing the output baud rate.ERRORSNo errors are defined.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-------------------------------+ |Interface Stability |Standard | +-----------------------------+-------------------------------+ |MT-Level |MT-Safe, and Async-Signal-Safe | +-----------------------------+-------------------------------+SEE ALSOcfgetospeed(3C), tcgetattr(3C), attributes(5), standards(5), termio(7I) SunOS 5.10 24 Jul 2002 cfgetispeed(3C)
Related Man Pages |
---|
cfgetispeed(3c) - opensolaris |
cfsetispeed(3c) - opensolaris |
cfgetospeed(3p) - suse |
cfgetispeed(3) - osf1 |
cfsetospeed(3c) - sunos |
Similar Topics in the Unix Linux Community |
---|
How to set baude rate of Serial port using setserial or other command |
Serial programming using termios |