Back to index

tetex-bin  3.0
Functions
lib_beep.c File Reference
#include <curses.priv.h>
#include <term.h>

Go to the source code of this file.

Functions

 beep (void)

Function Documentation

beep ( void  )

Definition at line 55 of file lib_beep.c.

{
    int res = ERR;

    T((T_CALLED("beep()")));

    /* FIXME: should make sure that we are not in altchar mode */
    if (bell) {
       TPUTS_TRACE("bell");
       res = putp(bell);
       _nc_flush();
    } else if (flash_screen) {
       TPUTS_TRACE("flash_screen");
       res = putp(flash_screen);
       _nc_flush();
    }

    returnCode(res);
}

Here is the call graph for this function:

Here is the caller graph for this function: