Carbon


FSGetForkPosition

Header: Files.h Carbon status: Supported

Returns the current position of the specified open fork.

OSErr FSGetForkPosition (
    SInt16 forkRefNum, 
    SInt64 *position
);
Parameter descriptions
forkRefNum

The reference number of the fork whose position you wish to obtain.

position

On return, a pointer to the current position of the fork. The returned fork position is relative to the start of the fork (that is, is an absolute offset in bytes).

function result

A result code.

AVAILABILITY

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


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