The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 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(), <curses.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]