Contents

NSZoneMalloc

Allocates memory in a zone.

Declaration

extern 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