PxMcReturnAllBlks()
Return all allocated memory blocks of the caller.
- APPLIES TO
-
8.2.0
- SYNOPSIS
-
PxError_t PxMcReturnAllBlks(void);
- RETURN VALUES
-
-
All errors from
PxMcReturnBlk
-
- ERROR CODES
-
PXERR_MC_ILLMC
mcid
is not a valid memory classPXERR_INIT_ILLMCTYPE
The type for
PXMcSystemdefault
is different fromPXMcVarsized
,PXMcVarsizedAdjusted
andPXMcVarsizedAligned
PXERR_MC_DAMAGED_BLOCK
The block in memory class has been damaged
PXERR_MC_INCONSISTENCY
Inconsistency in memory class:
blk
PXERR_MC_ILLALIGN
Invalid memory block or size alignment in memory insert
PXERR_MC_ILLSIZE
Insufficient block size
PXERR_MC_NOMEM
Not enough memory in the memory class to satisfy the request
- DESCRIPTION
-
PxMcReturnAllBlks
returns all blocks which are allocated by the calling task.
- USAGE
-
#include "pxdef.h" PxError_t Err = PxMcReturnAllBlks() if (Err != PXERR_NOERROR) { // Report error }