cnfExprt

Export a C string to a FORTRAN string

Description:

Export a C string to a FORTRAN string. If the C string is shorter than the space allocated to the FORTRAN string, then pad it with blanks. If the C string is longer than the space allocated to the FORTRAN string, then truncate the string.

Invocation

cnfExprt( source_c, dest_f, dest_len )

Arguments

const char source_c (Given)
A pointer to the input C string
char dest_f (Returned via pointer)
A pointer to the output FORTRAN string
int dest_len (Given)
The length of the output FORTRAN string