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

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 333 of file fortranc.F90.