Name
ap_pcalloc — allocate and clear memory within a pool
Synopsis
void *ap_pcalloc(pool *p, int size)
Allocates memory of at least size
bytes. The
memory is initialized to zero. The memory is destroyed when the pool
is destroyed. Returns a pointer to the new block of memory.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.