cfd-solver
0.0.1
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Namelists
Program
c_string_to_fortran
Function
10 statements
Source File
solver_c_api.f90
solver_c_api
c_string_to_fortran
Contents
private function c_string_to_fortran(cstr) result(text)
Convert a NUL-terminated C string into a fixed-length Fortran buffer.
Arguments
Type
Intent
Optional
Attributes
Name
character(kind=c_char, len=1),
intent(in)
::
cstr
(*)
Return Value
character(len=512)