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

Version 1 Next »

Frees memory block, making it available for future use.

Files

lib_mem.h/lib_mem.c

Prototype

void  Mem_DynPoolBlkFree (MEM_DYN_POOL  *p_pool,
                          void          *p_blk,
                          LIB_ERR       *p_err);

Arguments

p_pool

Pointer to pool data.

p_blk

Pointer to first byte of memory block.

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_FULL

Returned Value

None.

Required Configuration

None.

Notes / Warnings

None.

  • No labels