Carbon


FSCloseFork

Header: Files.h Carbon status: Supported

Causes all data written to the open fork to be written to disk, and then closes the open fork.

OSErr FSCloseFork (
    SInt16 forkRefNum
);
Parameter descriptions
forkRefNum

The reference number of the fork to close. After the call to this function, the reference number in this parameter is invalid.

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)