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

Man Page: clear_keybuf

Operating Environment: php

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) - opendarwin
exkeys(3alleg4) - osx
exkeys(3alleg4) - redhat
exkeys(3alleg4) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun