Next:
CHARACTER_ARG - Pass a CHARACTER argument to a FORTRAN routine
Up:
Full Description of F77 Macros
Previous:
Specific Descriptions
CHARACTER - Declare a CHARACTER argument
Description:
Declare a C function argument, given that the actual argument will be a CHARACTER variable passed from a FORTRAN program.
Invocation:
CHARACTER(arg)
Arguments:
arg
The dummy argument to be declared.
Examples:
CHARACTER(x)
will expand as follows:
All Unix:
char *x
VAX/VMS:
struct dsc$descriptor_s *x_arg
Notes:
On a VAX/VMS system, the macro expands to a pointer to a descriptor whereas on other systems it expands to a pointer to char.
Next:
CHARACTER_ARG - Pass a CHARACTER argument to a FORTRAN routine
Up:
Full Description of F77 Macros
Previous:
Specific Descriptions
CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
19 January 2000
E-mail:
ussc@star.rl.ac.uk