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>ungetone</b> -- put back a single character http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
name            ungetone  --  Put back a single character

synopsis        ch = ungetone(ans);
                COUNT ch;   returns -1 if buffer full
                COUNT ans;  decimal value of keystroke

description  This ungetone() pushes a character back so the
           next call to getone() returns this character. and
           returns an -1 if the buffer is full.

See Also: getone()

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