The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

cfgetispeed - get input baud rate

 SYNOPSIS



#include <termios.h>

speed_t cfgetispeed(const struct termios *termios_p);

 DESCRIPTION

The cfgetispeed() function extracts the input baud rate from the termios structure to which the termios_p argument points.

This function returns exactly the value in the termios data structure, without interpretation.

 RETURN VALUE

Upon successful completion, cfgetispeed() returns a value of type speed_t representing the input baud rate.

 ERRORS

No errors are defined.

 EXAMPLES

None.

 APPLICATION USAGE

None.

 FUTURE DIRECTIONS

None.

 SEE ALSO

cfgetospeed(), cfsetispeed(), cfsetospeed(), tcgetattr(), <termios.h>, the XBD specification, General Terminal Interface .

DERIVATION

Derived from the POSIX.1-1988 standard.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]