Function xmalloc(size_t)

Function Documentation

void *xmalloc(size_t size)

Allocate a block of memory

Allocates a memory block of the requested size. The blocks are created from the fixed block allocators.

Parameters
  • size[in] - the size of the block to allocate.

  • size[in] - the client requested size of the block.

Returns

A pointer to the client’s memory block.