Gets the terminal baud rate.
Curses Library (libcurses.a)
#include <curses.h>
int baudrate(void)
The baudrate subroutine extracts the output speed of the terminal in bits per second.
The baudrate subroutine returns the output speed of the terminal.
To query the baud rate and place the value in the user-defined integer variable BaudRate, enter:
BaudRate = baudrate();