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 3Fh
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     If reading from a character device (such as the standard input) in
     cooked mode, at most one line of input will be read (up to a
     carriage return character or the specified length, whichever comes
     first).
 
     If the carry flag is returned clear but AX = 0, then the file
     pointer was already at end-of-file when the program requested the
     read.
 
     If the carry flag is returned clear but AX < CX, then a partial
     record was read at end of file or there is an error.
 
     [Version 3.0+]
     If the program is running on a network, the user must have Read
     access rights to the directory and file.
                                    -♦-