![]() |
PBGetForkSizeSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Returns the size of an open fork.
OSErr PBGetForkSizeSync ( FSForkIOParam *paramBlock );
A pointer to a parameter block
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion routine.
On output, the result code of the function.
On input, the reference number of the fork.
On output, the he logical size of the fork, in bytes. The size returned is the total number of bytes that can be read from the fork; the amount of space actually allocated on the volume (the physcial size) will probably be larger.
Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)