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


beep - audible signal


#include <curses.h>

int beep(void);


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.


The beep() function always returns OK.


No errors are defined.


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


flash(), <curses.h>.

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