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

Technical Reference: Base Operating System and Extensions , Volume 2


beep Subroutine

Purpose

Sounds the audible alarm on the terminal.

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>
 
int beep(void);

Description

The beep subroutine alerts the user. It sounds the audible alarm on the terminal, or if that is not possible, it flashes the screen (visible bell). If neither signal is possible, nothing happens.

Return Values

The beep subroutine always returns OK.

Examples

To sound an audible alarm, enter:

beep();

Implementation Specifics

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

Related Information

The flash (flash 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.

Setting Video Attributes and Curses Options in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.


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