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

Gets the configuration for a pool.

BOOLEAN mpool_get_config(
    MPOOL pool, 
    MPOOL_CONFIG * config
)

Parameters

pool
The memory pool created by mpool_create.
config
The pointer to an MPOOL configuration descriptor.

Remarks

You must call mpool_get_config to retrieve the configuration you want mpool_set_config to modify.

Return Values

TRUE
Success.
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 config is NULL.

Requirements

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