This appendix contains reference information about the
XL C/C++ compiler
memory debug library functions, which are extensions of the standard
C memory management functions. The appendix is divided into two sections:
To use these debug versions, you can do either of the
following operations:
- In your source code, prefix any of the default or user-defined-heap
memory management functions with _debug_.
- If you do not want to make changes to the source code, compile
with the -qheapdebug option. This option maps all
calls to memory management functions to their debug version counterparts.
To prevent a call from being mapped, parenthesize the function name.
All of the examples provided in this appendix assume
compilation with the -qheapdebug option.