qa.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.
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
                                    -♦-