Issues a prompt on the application screen and returns as soon as the Escape key has been pressed on the application screen keyboard.
#include <screen.h> int pressescapekey ( void );
Returns 0 when the Escape key has been pressed. If the another key has been pressed, causes the console speaker to beep and waits for the Escape key. If an error occurs, returns -1 and sets errno to one of the following: