Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
clear_keybuf(3)			Allegro	manual		       clear_keybuf(3)

NAME
       clear_keybuf - Clears the keyboard buffer. Allegro game programming li-
       brary.

SYNOPSIS
       #include	<allegro.h>

       void clear_keybuf();

DESCRIPTION
       Empties	the keyboard buffer. Usually you want to use this in your pro-
       gram before reading keys	to avoid previously buffered keys  to  be  re-
       turned by calls to readkey() or ureadkey().

SEE ALSO
       install_keyboard(3), keypressed(3), readkey(3), ureadkey(3)

Allegro				 version 4.4.3		       clear_keybuf(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=clear_keybuf&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help