iPXE
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
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11
12/**
13 * Audible signal
14 *
15 * @ret rc return status code
16 */
17int beep ( void ) {
18 printf("\a");
19 return OK;
20}
int beep(void)
Audible signal.
Definition alert.c:17
MuCurses header file.
#define OK
Definition curses.h:25
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
int printf(const char *fmt,...)
Write a formatted string to the console.
Definition vsprintf.c:465