clear_keybuf(3alleg4) linux man page | unix.com

Man Page: clear_keybuf

Operating Environment: linux

Section: 3alleg4

clear_keybuf(3alleg4)						  Allegro manual					     clear_keybuf(3alleg4)

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().
SEE ALSO
install_keyboard(3alleg4), keypressed(3alleg4), readkey(3alleg4), ureadkey(3alleg4) Allegro version 4.4.2 clear_keybuf(3alleg4)
Related Man Pages
exjoy(3alleg4) - debian
exkeys(3alleg4) - centos
exkeys(3alleg4) - mojave
exkeys(3alleg4) - php
exkeys(3alleg4) - v7
Similar Topics in the Unix Linux Community
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Forum Video Tutorial: How to Use Code Tags
Merry Christmas!
Don Cragun crossing 4500 thanks went unnoticed for more than a week - late congratulations!
YouTube: How to Use Code Tags and Format Posts @UNIX.com