cnfExpch

Export a C array of char to a FORTRAN string.

Description:

Export a C array of char to a FORTRAN string, copying ‘nchars’ characters. No characters, are special so this may be used to export an HDS locator which could contain a null character.

Invocation

cnfExpch( source_c, dest_f, nchars )

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 nchars (Given)
The number of characters to be copied from source_c to dest_f