FortranGIS  Version2.5
character(kind=c_char,len=len_trim(fchar)+1) function, public fortranc::fchartrimtostr ( character(len=*), intent(in)  fchar)

Trim trailing blanks and convert a Fortran CHARACTER variable into a null-terminated C string.

The result is still of type CHARACTER but it is interoperable with a C null-terminated string argument const char* interfaced as CHARACTER(kind=c_char) :: cstr.

Parameters
[in]fcharFortran CHARACTER variable to convert

Definition at line 347 of file fortranc.F90.