| /* Return the output baud rate stored in *TERMIOS_P. */ |
| const struct termios *termios_p; |
| return termios_p->c_ospeed; |
| /* Return the input baud rate stored in *TERMIOS_P. */ |
| const struct termios *termios_p; |
| return termios_p->c_ispeed; |
| /* Set the output baud rate stored in *TERMIOS_P to SPEED. */ |
| cfsetospeed (termios_p, speed) |
| struct termios *termios_p; |
| termios_p->c_ospeed = speed; |
| /* Set the input baud rate stored in *TERMIOS_P to SPEED. */ |
| cfsetispeed (termios_p, speed) |
| struct termios *termios_p; |
| termios_p->c_ispeed = speed; |