HPlogo HP-UX Reference Volume 4 of 5 > b

beep(3X)

CURSES
» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

beep — audible signal

SYNOPSIS

#include <curses.h>

int beep(void);

DESCRIPTION

The beep() function 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 VALUE

The beep() function always returns OK.

ERRORS

No errors are defined.

APPLICATION USAGE

Nearly all terminals have an audible alarm, but only some can flash the screen.

SEE ALSO

flash(3X), <curses.h>.

CHANGE HISTORY

First released in X/Open Curses, Issue 2.

X/Open Curses, Issue 4

The argument list is explicitly declared as void. The RETURN VALUE section is changed to indicate that the function always returns OK. The flash() function is moved to its own entry.

© Hewlett-Packard Development Company, L.P.