Carbon


PBWriteForkAsync

Header: Files.h Carbon status: Supported

Writes data to an open fork.

void PBWriteForkAsync (
    FSForkIOParam *paramBlock
);
Parameter descriptions
paramBlock

A pointer to a parameter block

DISCUSSION

The relevant fields of the parameter block are:

Data is written starting at the position specified by positionMode and positionOffset. The call will attempt to write requestCount bytes from the buffer pointed at by the buffer parameter.

The fork’s current position is set to point immediately after the last byte written (that is, the initial position plus actualCount).

You can open the fork using the FSOpenFork call.

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)