Technical data
29
Chapter 3
3. Fortran Program Interfaces
This chapter contains the following major sections:
•“Fortran/C Interface” describes the interface between Fortran routines
and routines written in C. It contains rules and gives examples for
making calls and passing arguments between the two languages.
•“Fortran/C Wrapper Interface” describes the process of generating
wrappers for C routines called by Fortran.
•“Fortran/Pascal Interface” describes the interface between Fortran
routines and routines written in Pascal. It contains rules and gives
examples for making calls and passing arguments between the two
languages.
You may need to refer to other sources of information as you read this
chapter.
• For information on storage mapping (how the variables of the various
languages appear in storage), refer to Chapter 1 for Fortran and to
Chapter 2 in the appropriate language programmer’s guide for other
languages.
• For information on the standard linkage conventions used by the
compiler in generating code, see Chapter 7 of the Assembly Language
Programmer’s Guide.
For information on built-in functions that provide access to non-Fortran
system functions and library routines, see Chapter 4 of this manual.










