iPXE
hci
mucurses
alert.c
Go to the documentation of this file.
1
#include <
curses.h
>
2
#include <
stdio.h
>
3
4
/** @file
5
*
6
* MuCurses alert functions
7
*
8
*/
9
10
FILE_LICENCE
( GPL2_OR_LATER_OR_UBDL );
11
12
/**
13
* Audible signal
14
*
15
* @ret rc return status code
16
*/
17
int
beep
(
void
) {
18
printf
(
"\a"
);
19
return
OK
;
20
}
beep
int beep(void)
Audible signal.
Definition
alert.c:17
curses.h
MuCurses header file.
OK
#define OK
Definition
curses.h:25
FILE_LICENCE
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition
compiler.h:896
stdio.h
printf
int printf(const char *fmt,...)
Write a formatted string to the console.
Definition
vsprintf.c:465
Generated by
1.14.0