[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions , 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 (tcgetattr Subroutine) subroutine.

Curses Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.

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

Obsolete Curses Subroutines in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]