iPXE
prompt.h
Go to the documentation of this file.
1#ifndef _USR_PROMPT_H
2#define _USR_PROMPT_H
3
4/** @file
5 *
6 * Prompt for keypress
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13extern int prompt ( const char *text, unsigned long timeout, int key );
14
15#endif /* _USR_PROMPT_H */
union @162305117151260234136356364136041353210355154177 key
Sense key.
Definition scsi.h:3
void timeout(int)
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
int prompt(const char *text, unsigned long timeout, int key)
Prompt for keypress.
Definition prompt.c:49