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 3 Next »

Frees memory block, making it available for future use.

Files

lib_mem.h/lib_mem.c

Prototype

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

  1. A usage example of this function is available on Dynamic Memory Pools page.

 

  • No labels