The Function-ID paragraph specifies the name by which a function is identified and assigns selected attributes to that function.
General Format for Format 1 (definition):
General Format for Format 2 (prototype):
Syntax Rules
Literal-1 must be an alphanumeric literal and must not be a figurative constant.
General Rules for Format 1
User-function-name-1 names the function declared by this function definition. However, literal-1, if specified, is the name
of the function that is externalized to the operating environment.
User-defined function definitions must appear within the compilation group before the programs and functions that invoke
them.
General Rules for Format 2
Function-prototype-name-1 names the function prototype declared by this definition. However, literal-1, if specified, is the
name of the function prototype that is externalized to the operating environment.