Xpermalloc() Xpermalloc()
Name
Xpermalloc - allocate memory never to be freed.
Synopsis
char *Xpermalloc(size)
unsigned int size;
Arguments
size Specifies the size in bytes of the space to be allocated. This specification is rounded to the nearest 4-byte boundary.
Returns
A pointer to the allocated memory.
Description
Xpermalloc() allocates some memory that will not be freed until the process exits. Xpermalloc is used by some toolkits for permanently
allocated storage and allows some performance and space savings over the completely general memory allocator.
Xlib - Resource Manager Xpermalloc()