Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Vitamin C Library - name <b>getone</b> -- get a single character http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
name            getone  --  Get a single character

synopsis        ch = getone();
                COUNT ch;  character typed on keyboard

description  This is the main input routine. This function
           waits until a key is pressed. While waiting
           the function can process a loop function. After
           a key is pressed it checks to see if it is either
           the help key or window adjust key. If it is not
           either of these it returns the key and if it is
           a function key it sets fkey to TRUE.  If the key
           is a function key or other extended key code, getone()
           will set the FBIT.

See Also: ungetone()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson