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 21H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Random Read
 
  Reads a selected record from a file into memory.
 
  Input                           Output
  ════════════════════            ════════════════════════════════════════
  AH=21H                          AL=00H  if read successful
  DS:DX=segment:offset               01H  if end of file
        of previously                02H  if segment wrap, read canceled
        opened file                  03H  if partial record read at end
        control block                      of file
                                    -♦-