![]() |
GetPtrSize |
||||
Header: | MacMemory.h | Carbon status: | Supported | |
Returns the logical size of the nonrelocatable block corresponding to a pointer.
Size GetPtrSize ( Ptr p );
A pointer to a nonrelocatable block.
The logical size, in bytes, of the nonrelocatable block pointed to by p. In case of error, the function returns 0.
Call the function MemError to get the result code. See
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)