Carbon


PBDeleteForkAsync

Header: Files.h Carbon status: Supported

Deletes a named fork of a file or directory.

void PBDeleteForkAsync (
    FSForkIOParam *paramBlock
);
Parameter descriptions
paramBlock

A pointer to a parameter block.

DISCUSSION

The relevant fields of the parameter block are:

Any storage allocated to the fork is released.

If a given fork always exists for a given volume format (such as data and resource forks for HFS and HFS Plus, or data forks for most other volume formats), this is equivalent to setting the logical size of the fork to zero.

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)