Important: The information in this document is obsolete and should not be used for new development.
GetEOF
You can use theGetEOF
function to determine the current logical end-of-file of an open file.
FUNCTION GetEOF (refNum: Integer; VAR logEOF: LongInt): OSErr;
refNum
- The file reference number of an open file.
logEOF
- On output, the logical end-of-file.
DESCRIPTION
TheGetEOF
function returns, in thelogEOF
parameter, the logical end-of-file of the specified file.RESULT CODES
noErr 0 No error ioErr -36 I/O error fnOpnErr -38 File not open rfNumErr -51 Bad reference number afpAccessDenied -5000 User does not have the correct access to the file SEE ALSO
For a description of the logical and physical end-of-file, see the section "File Access Characteristics" on page 1-8.