PxMcReturnAllBlks()
Return all allocated memory blocks of the caller.
- APPLIES TO
-
1.0.0
- SYNOPSIS
-
PxError_t PxMcReturnAllBlks(void); - RETURN VALUES
-
-
All errors from
PxMcReturnBlk
-
- ERROR CODES
-
PXERR_MC_ILLMCmcidis not a valid memory classPXERR_INIT_ILLMCTYPEThe type for
PXMcSystemdefaultis different fromPXMcVarsized,PXMcVarsizedAdjustedandPXMcVarsizedAlignedPXERR_MC_DAMAGED_BLOCKThe block in memory class has been damaged
PXERR_MC_INCONSISTENCYInconsistency in memory class:
blkPXERR_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
-
PxMcReturnAllBlksreturns all blocks which are allocated by the calling task.
- USAGE
-
#include "pxdef.h" PxError_t Err = PxMcReturnAllBlks() if (Err != PXERR_NOERROR) { // Report error }