String routines module. More...
Data Types | |
interface | interface |
Functions/Subroutines | |
character(len=:), allocatable | ccpp_fstr (str1) |
ccpp_fstr converts an array of characters into a string. | |
character(len=:), allocatable | ccpp_cstr (str1) |
ccpp_cstr converts a string to a trimmed null terminated string. |
String routines module.
A module continaing subroutines and fuctions to manipulate strings.
character(len=:),allocatable ccpp_strings::ccpp_cstr | ( | character(len=*) | str1 | ) |
ccpp_cstr converts a string to a trimmed null terminated string.
This function is needed to pass Fortran strings to C.
[in] | str1 | The fortran string. |
character(len=:),allocatable ccpp_strings::ccpp_fstr | ( | type(c_ptr),intent(in) | str1 | ) |
ccpp_fstr converts an array of characters into a string.
This function is needed to pass C char arrays to Fortran.
[in] | str1 | The character array. |