iPXE
alert.c File Reference

MuCurses alert functions. More...

#include <curses.h>
#include <stdio.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
int beep (void)
 Audible signal.

Detailed Description

MuCurses alert functions.

Definition in file alert.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ beep()

int beep ( void )

Audible signal.

Return values
rcreturn status code

Definition at line 17 of file alert.c.

17 {
18 printf("\a");
19 return OK;
20}
#define OK
Definition curses.h:25
int printf(const char *fmt,...)
Write a formatted string to the console.
Definition vsprintf.c:465

References OK, and printf().

Referenced by wgetch(), and wgetnstr().