Assembly Language Help (alang.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 44h Subfunction 06h
                                             ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   44h     Subfunction:   06h
 
  Title:       IOCTL: Check Input Status
 
  Description:
 
     Returns a code indicating whether the device or file associated
     with a handle is ready for input. This function can be used to
     check the status of character devices such as the serial port
     that do not have their own "traditional" MS-DOS status calls.
 
     Input           Output
 
     AH = 44h        If function successful
     AL = 06h          Carry flag: clear
     BX = Handle     And for a device
                       AL = 00h (if device not ready)
                          = FFh (if device ready)
                     Or for a file
                       AL = 00h (if file pointer at EOF)
                          = FFh (if file pointer not at EOF)
 
                     If function unsuccessful
                       Carry flag: set
                       AX = Error code (01h, 05h, 06h,or 0Dh)
                       See: ◄Error codes►
                                    -♦-