ggiGetc man page on Mandriva

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

ggiGetc(3)			      GGI			    ggiGetc(3)

NAME
       ggiGetc, ggiKbhit : Convenience functions for simplistic keyboard input

SYNOPSIS
       #include <ggi/ggi.h>

       int ggiGetc(ggi_visual_t vis);

       int ggiKbhit(ggi_visual_t vis);

DESCRIPTION
       ggiGetc	gets  a character from the keyboard, and blocks if there is no
       key immediately available.

       ggiKbhit checks if a key has been hit on the keyboard.  This  does  not
       consume the key.	 It is used for easy porting of old DOS applications.
	      Important:  Do  not poll like this: do while( ! ggiKbhit(vis) );
	      On a multitasking OS you would be wasting	 a  lot	 of  resources
	      which  could  be	available  to other processes.	If you want to
	      wait for a key, use the ggiGetc call.

RETURN VALUE
       ggiKbhit returns 0 if no key has been received yet, otherwise there  is
       a key to be consumed.

       ggiGetc returns a Unicode character in canonical form.

       For a more detailed definition of characters, see gii_key_event(3).

SEE ALSO
       ggiEventPoll(3)

libggi-2.2.x			  2006-12-30			    ggiGetc(3)
[top]

List of man pages available for Mandriva

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