qa.hlp (Table of Contents; Topic list)
Int 21H Function 23H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Get File Size
 
  Searches for a matching file in the current directory; if one is found,
  updates the FCB with the file's size in terms of number of records.
 
  Input                             Output
  ══════════════════════            ═════════════════════════════════════
  AH=23H                            If function successful (matching file
  DS:DX=segment:offset               found)
        of unopened file            AL=00
        control block               and FCB relative-record field (offset
                                     21H) set to the number of records in
                                     the file, rounded up if necessary to
                                     the next complete record
                                    If function unsuccessful (no matching
                                     file found)
                                    AL=FFH
                                    -♦-