INtime SDK Help
mpool_pool2name
INtime SDK v7.1 > About INtime > Other system libraries > Heaps and memory pools > Memory pools > mpool_pool2name

Retrieves the name associated with a pool.

BOOLEAN mpool_pool2name(
    MPOOL pool, 
    char * name, 
    DWORD len
);

Parameters

pool
The memory pool created by mpool_create.
name
The pointer to the buffer that receives the name.
len
The name buffer's length.

Return Values

TRUE
Success. The name was copied.
FALSE
Failure. The function sets errno to one of these values:
EEXIST The pool is deleted.
EINVAL The pool is not a valid MPOOL or the value of name is NULL.

Requirements

Versions Defined in Include Link to
INtime 4.0 intime/rt/include/mpool.h mpool.h clib.lib
   
See Also