Carbon


GetEOF

Header: Files.h Carbon status: Supported

Determines the current logical end-of-file of an open file.

OSErr GetEOF (
    SInt16 refNum, 
    SInt32 *logEOF
);
Parameter descriptions
refNum

The file reference number of an open file.

logEOF

On output, a pointer to the logical end-of-file.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)