Object code control
Enables you to provide your own function entry code for all functions that have extern scope, or for all extern and static functions.
>>-PROLOG--(--+-"text-string"-------------------+--)----------->< '-+-EXTERN-+--(--"text-string"--)-' '-ALL----'
The compiler generates default prolog code for the functions that do not have user-supplied prolog code.
text-string is a C string, which must contain valid HLASM statements.
If the text-string consists of white-space characters only, or if the text-string is not provided, then the compiler ignores the option specification. If the text-string does not contain any white-space characters, then the compiler will insert leading spaces in front. Otherwise, the compiler will insert the text-string into the function prolog location of the generated assembler source. The compiler does not understand or validate the contents of the text-string. In order to satisfy the assembly step later, the given text-string must form valid HLASM code with the surrounding code generated by the compiler.
For information on valid HLASM statements, see #pragma prolog.
For more information on METAL C default prolog code, see z/OS Metal C Programming Guide and Reference.
See section Building Metal C programs with IPA in z/OS Metal C Programming Guide and Reference.
None.
For more information on the METAL compiler option, see METAL | NOMETAL (C only).
See EPILOG (C only) for information on providing function exit code for system development.