Sounds the audible alarm on the terminal.
Curses Library (libcurses.a)
#include <curses.h>
int beep(void);
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.
The beep subroutine always returns OK.
To sound an audible alarm, enter:
beep();