Function

NSZoneMalloc

Allocates memory in a zone.

Declaration

void * NSZoneMalloc(NSZone *zone, NSUInteger size);

Discussion

Allocates size bytes in zone and returns a pointer to the allocated memory. This function returns NULL if it was unable to allocate the requested memory.

See Also

Managing Zones

NSCreateZone

Creates a new zone.

NSRecycleZone

Frees memory in a zone.

NSSetZoneName

Sets the name of the specified zone.

NSZoneCalloc

Allocates memory in a zone.

NSZoneFree

Deallocates a block of memory in the specified zone.

NSZoneFromPointer

Gets the zone for a given block of memory.

NSZoneName

Returns the name of the specified zone.

NSZoneRealloc

Allocates memory in a zone.

NSDefaultMallocZone

Returns the default zone.