Import a FORTRAN string into a C string, up to a maximum of ‘max’
characters, retaining trailing blanks. The null character is appended to the C string after all of the blanks in
the input string.
cnfImpbn( source_f, source_len, max, dest_c )
A pointer to the input FORTRAN string
int source_len (Given)
length of the input FORTRAN string
int max (Given)
The maximum number of
characters to be copied from the input FORTRAN string to the output C string
(Returned via pointer)
A pointer to the output C string
No check is made that there is
sufficient space allocated to the C string to hold the FORTRAN string. It is the responsibility of the
programmer to check this.