Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Gets number of available blocks in dynamic memory pool. This call will fail with a dynamic memory pool for which no limit was set at creation.

Files

lib_mem.h/lib_mem.c

Prototype

CPU_SIZE_T  Mem_DynPoolBlkNbrAvailGet (MEM_DYN_POOL  *p_pool,
                                       LIB_ERR       *p_err)

Arguments

p_pool

Pointer to pool data.

p_err

Pointer to variable that will receive the return error code from this function.

LIB_MEM_ERR_NONE

LIB_MEM_ERR_NULL_PTR

LIB_MEM_ERR_POOL_UNLIMITED

Returned Value

Number of blocks available in dynamic memory pool. 

Required Configuration

None.

Notes / Warnings

None.

  • No labels