FortranGIS  Version2.5
List of all members
strtofchar Interface Reference

Convert a null-terminated C string into a Fortran CHARACTER variable of the proper length. More...

Detailed Description

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:

Parameters
stringnull-terminated C-style string to convert

Definition at line 165 of file fortranc.F90.