[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, 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 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.

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


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]