keypressed man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

keypressed(3)			Allegro manual			 keypressed(3)

NAME
       keypressed - Tells if there are keypresses waiting in the input buffer.
       Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       int keypressed();

DESCRIPTION
       Returns TRUE if there are keypresses waiting in the input  buffer.  You
       can  use this to see if the next call to readkey() is going to block or
       to simply wait for the user to press a key while you still  update  the
       screen possibly drawing some animation. Example:

	  while (!keypressed()) {
	     /* Show cool animated logo. */
	  }
	  /* So he skipped our title screen. */

SEE ALSO
       install_keyboard(3),  readkey(3),  ureadkey(3),	clear_keybuf(3), simu‐
       late_keypress(3), simulate_ukeypress(3)

Allegro				 version 4.4.2			 keypressed(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net