Carbon


PBFlushForkAsync

Header: Files.h Carbon status: Supported

Causes all data written to an open fork to be written to disk.

void PBFlushForkAsync (
    FSForkIOParam *paramBlock
);
Parameter descriptions
paramBlock

A pointer to a parameter block

DISCUSSION

The relevant fields of the parameter block are:

The actual fork contents are written to disk, as well as any other volume structures needed to access the fork. On HFS and HFS Plus, this includes the catalog, extents, and attribute B-trees; the volume bitmap; and volume header and alternate volume header (MDB, alterhate MDB), as needed.

On volumes that do not support PBFlushForkAsync directly, the entire volume is flushed to be sure all volume structures associated with the fork are written to disk.

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)