beep(3) — Subroutines
Digital
NAME
beep, flash − generate audiovisual alarm
SYNOPSIS
#include <curses.h>
int beep()
int flash()
DESCRIPTION
The beep routine sounds the audible alarm on the terminal, if possible; otherwise it flashes the screen.
The routine flash flashes the screen, if possible, otherwise it sounds the audible alarm.
If neither signal can be used on a particular terminal, nothing happens.
RETURN VALUES
The beep and flash functions return OK on success and ERR on error.