c2s(3f) - [M_strings:ARRAY] convert C string pointer to Fortran character string (LICENSE:PD)
Synopsis
Description
Options
Returns
Examples
Author
License
function c2s(c_string_pointer) result(f_string)
type(c_ptr), intent(in) :: c_string_pointer character(len=:), allocatable :: f_string
Given a C pointer to a character string return a Fortran character string.
c_string_pointer C pointer to convert
f_string Fortran character variable to return
John S. Urban
Public Domain
Nemo Release 3.1 | c2s (3m_strings) | January 10, 2025 |