Intel® Fortran Compiler 16.0 User and Reference Guide

ALIAS

Use the ALIAS option for the ATTRIBUTES directive If the name of a routine appears as mixed-case in C and you need to preserve the case.

To use the ALIAS option, place the name in quotation marks exactly as it is to appear in the object file.

C Function My_Proc Example

 !DIR$ ATTRIBUTES DECORATE,ALIAS:'My_Proc'
 :: My_Proc

This example uses DECORATE to automatically reconcile external name declaration for the target platform.

Using the DECORATE option in combination with the ALIAS option specifies that the external name specified in ALIAS should have the correct prefix and postfix decorations for the calling mechanism in effect.