qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ungetch
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The ungetch function pushes the character <c> back to the console,
     causing <c> to be the next character read by getch or getche. The
     ungetch function fails if it is called more than once before the
     next read. The <c> argument cannot be EOF.
 
     Return Value
 
     The ungetch function returns the character <c> if it is successful.
     A return value of EOF indicates an error.
                                    -♦-