[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 2

baudrate Subroutine

Purpose

Gets the terminal baud rate.

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>
int baudrate(void)

Description

The baudrate subroutine extracts the output speed of the terminal in bits per second.

Return Values

The baudrate subroutine returns the output speed of the terminal.

Examples

To query the baud rate and place the value in the user-defined integer variable BaudRate , enter:

BaudRate = baudrate();

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The tcgetattr subroutine

Curses Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

List of Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

Obsolete Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Contents | Glossary | Home | Search ]