clear_keybuf (3) - Linux Manuals
clear_keybuf: Clears the keyboard buffer. Allegro game programming library.
Command to display clear_keybuf
manual in Linux: $ man 3 clear_keybuf
NAME
clear_keybuf - Clears the keyboard buffer. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void clear_keybuf();
DESCRIPTION
Empties the keyboard buffer. Usually you want to use this in your program
before reading keys to avoid previously buffered keys to be returned by
calls to readkey() or ureadkey().
Pages related to clear_keybuf