Microsoft KB Archive/69580

Function 0Ah Incompatible with Function 0Ch ID Number: Q69580

3.20 3.21 3.30 3.30a 4.00 4.01 5.00 MS-DOS docerr

Summary:

MS-DOS INT 21h, function 0Ah, “Buffered Keyboard Input,” will fail if used with MS-DOS function 0Ch, “Flush Buffer, Read Keyboard.” The “Microsoft MS-DOS Programmer’s Reference” entry for function 0Ch indicates that functions 1,6,7,8 or 0ah are legal values for function 0Ch to call after the input buffer has been flushed. The documentation is in error; function 0Ah is not allowed for use with function 0Ch.