flash Subroutine

Purpose

Flashes the screen.

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>

int flash(void);

Description

The flash subroutine alerts the user. It flashes the screen, or if that is not possible, it sounds the audible alarm on the terminal. If neither signal is possible, nothing happens.

Return Values

The flash subroutine always returns OK.

Examples

To cause the terminal to flash, enter:

flash();