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.
If both ENTRY-NAME and ENTRY-INTERFACE clauses are specified, ENTRY-INTERFACE must be specified first.
If ENTRY-NAME IS LONGMIXED is specified, literal-1 must be specified.
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.
The ENTRY-NAME and ENTRY-INTERFACE clauses are documentary only.
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.
The ENTRY-NAME and ENTRY-INTERFACE clauses are documentary only.