Rules for the placement of hooks in functions and nested blocks
The following rules apply to the placement of hooks for functions
and nested blocks:
- The hook for function entry is placed before any initialization or statements for the function.
- The hook for function exit is placed just before actual function return.
- The hook for nested block entry is placed before any statements or initialization for the block.
- The hook for nested block exit is placed after all statements for the block.
Refer to the following topics for more information related to the material discussed in this topic.
- Related references
- z/OS® XL C/C++ User's Guide