FortranGIS
Version2.5
|
Convert a null-terminated C string into a Fortran CHARACTER
variable of the proper length.
More...
Convert a null-terminated C string into a Fortran CHARACTER
variable of the proper length.
The input can be provided as a Fortran CHARACTER
scalar of any length, as a Fortran array of CHARACTER
of length one, as an array of 1-byte integers or as a C pointer to char (char*
).
It is typically used for:
char *
argument, interfaced as CHARACTER(kind=c_char,len=*) :: fchar
for its subsequent use in Fortranchar*
, interfaced as TYPE(c_ptr)
for its subsequent use in Fortranstring | null-terminated C-style string to convert |
Definition at line 165 of file fortranc.F90.