Function iwpool_create

Source
pub unsafe extern "C" fn iwpool_create(siz: size_t) -> *mut IWPOOL
Expand description

@brief Creates memory pool and preallocate initial buffer of size siz bytes. In the case if siz is zero then size of initial memory buffer will be IWPOOL_POOL_SIZ bytes.

@param siz Initial memory buffer size. Can be zero. @return Pointer to the new pool or zero if allocation is failed.