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_ILLMCmcid is not a valid memory class
PXERR_INIT_ILLMCTYPEThe type for PXMcSystemdefault is different from PXMcVarsized, PXMcVarsizedAdjusted and PXMcVarsizedAligned
PXERR_MC_DAMAGED_BLOCKThe block in memory class has been damaged
PXERR_MC_INCONSISTENCYInconsistency in memory class: blk
PXERR_MC_ILLALIGNInvalid memory block or size alignment in memory insert
PXERR_MC_ILLSIZEInsufficient block size
PXERR_MC_NOMEMNot 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 }