Returns the size of a buffer returned by mpool_alloc or mpool_realloc.
DWORD mpool_buffer_size( MPOOL pool, void * buf );
pool
buf
Buffers always have a length of at least four and may be larger than the length requested by mpool_alloc or mpool_realloc.
0
(zero)
EEXIST |
The pool is deleted. |
EINVAL |
The pool is not a valid MPOOL. |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 4.0 | intime/rt/include/mpool.h | mpool.h | clib.lib |