Description:
Import a
FORTRAN string into a C array of char, copying ‘nchars’ characters. No characters,
are special so this may be used to import an HDS locator which could contain any
character.
Invocation
cnfImprt( source_f, nchars, dest_c )
Arguments
const char
source_f (Given)
A
pointer to the input FORTRAN string
int nchars (Given)
The number of characters to be copied from source_f to
dest_c
char dest_c
(Returned via pointer)
A pointer to the C array of char
Notes:
No check is made that there is sufficient space allocated to the C array to hold the FORTRAN
string. It is the responsibility of the programmer to check this.