qa.hlp (Table of Contents; Topic list)
Int 21H Function 0CH
   Summary  Notes  Example  Back
──────────────────────────────────────────────────────────────────────────────
 
▀ The function exists to allow a program to defeat MS-DOS's type-ahead
  feature. It discards any characters that are waiting in MS-DOS's inter-
  nal type-ahead buffer, forcing the specified input function to wait for
  a character (usually a keyboard entry) that is truly entered after the
  program's request.
 
▀ The presence or absence of CTRL+C checking during execution of this
  function depends on the function number in register AL.
 
▀ A function number in AL other than 01H, 06H, 07H, 08H, or 0AH simply
  flushes the input buffer and returns control to the calling program.
                                    -♦-