Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cfgetospeed(3)

cfsetispeed(3)

cfsetospeed(3)

tcgetattr(3)

tcsetattr(3)

termios(7)

CFGETISPEED(3)                       SysV                       CFGETISPEED(3)



NAME
     cfgetispeed  - get input baud rate

SYNOPSIS
     #include <termios.h>

     speed_t cfgetispeed (termios_p )
     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.

     If the value in the termios structure was not obtained from a successful
     call to the tcgetattr(3) function, the behavior is undefined.

DIAGNOSTICS
     cfgetispeed function returns a value of type speed_t representing the
     input baud rate.

SEE ALSO
     cfgetospeed(3), cfsetispeed(3), cfsetospeed(3), tcgetattr(3),
     tcsetattr(3), termios(7)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026