mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 04:20:17 +03:00
Parsing a timeout value (specified in milliseconds) into an internal timeout value measured in timer ticks is a common operation. Provide a parse_timeout() value to carry out this conversion automatically. Signed-off-by: Michael Brown <mcb30@ipxe.org>
15 lines
222 B
C
15 lines
222 B
C
#ifndef _USR_PROMPT_H
|
|
#define _USR_PROMPT_H
|
|
|
|
/** @file
|
|
*
|
|
* Prompt for keypress
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
extern int prompt ( const char *text, unsigned long timeout, int key );
|
|
|
|
#endif /* _USR_PROMPT_H */
|