qa.hlp (Table of Contents; Topic list)
Int 21H Function 0CH
   Summary  Notes  Example  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Flush Input Buffer and Then Input
 
  Clears the standard input buffer and then invokes one of the character
  input functions. Input can be redirected.
 
  Input                                     Output
  ══════════════════════════════            ═══════════════════════════
  AH=0CH                                    If called with AL=01H, 06H,
  AL=number of input function to             07H, or 08H
     be invoked after resetting             AL=8-bit input data
     buffer (must be 01H, 06H,
     07H, 08H, or 0AH)                      If called with AL=0AH
  If AL=0AH                                 Nothing
  DS:DX=segment:offset of input
        buffer
                                    -♦-