linux man page for clear_keybuf

Query: clear_keybuf

OS: linux

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
keypressed(3alleg4) - suse
exkeys(3alleg4) - centos
exjoy(3alleg4) - opendarwin
exkeys(3alleg4) - redhat
exkeys(3alleg4) - plan9
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
YouTube: How to Use Code Tags and Format Posts @UNIX.com
UNIX.com End of Year (EOY) Report (2019)