The following summarizes how to reconcile names between languages:
If the name of the routine appears as all lowercase in C, then naming conventions are automatically correct. Any case can be used in the Fortran source code, including mixed case, since the name is changed to all lowercase.
If the name of a routine appears as mixed-case in C and you cannot change the name, then you can resolve this naming conflict by using the Fortran ATTRIBUTES ALIAS option ALIAS is required in this situation because otherwise Fortran will not preserve the mixed-case name.
To use the ALIAS option, place the name in quotation marks exactly
as it is to appear in the .o file.
The following is an example for referring to the C function My_Proc:
!DEC$ ATTRIBUTES ALIAS:'My_Proc_' :: My_Proc