MirBSD manpage: beep(3), curs_beep(3), flash(3)

curs_beep(3)        UNIX Programmer's Manual         curs_beep(3)


     beep, flash - curses bell and screen flash routines


     #include <curses.h>

     int beep(void);
     int flash(void);


     The beep and flash routines are used to alert the terminal
     user. The routine beep sounds an audible alarm on the termi-
     nal, if possible; otherwise it flashes the screen (visible
     bell).  The routine flash flashes the screen, and if that is
     not possible, sounds the alert.  If neither alert is possi-
     ble, nothing happens.  Nearly all terminals have an audible
     alert (bell or beep), but only some can flash the screen.


     These routines return OK if they succeed in beeping or
     flashing, ERR otherwise.


     SVr4's beep and flash routines always returned OK, so it was
     not possible to tell when the beep or flash failed.


     These functions are described in the XSI Curses standard,
     Issue 4. Like SVr4, it specifies that they always return OK.



MirBSD #10-current     Printed 2022-12-23                       1

Generated on 2022-12-24 01:00:14 by $MirOS: src/scripts/roff2htm,v 1.113 2022/12/21 23:14:31 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2022 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.

Kontakt / Impressum & Datenschutzerklärung