kim-api 2.3.0+AppleClang.AppleClang.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
Loading...
Searching...
No Matches
Public Member Functions | List of all members
kim_log_module::kim_convert_c_string Interface Reference

Convert a c sting to a Fortran string. More...

Public Member Functions

recursive subroutine kim_log_convert_c_string (c_char_ptr, string)
 Convert a c sting to a Fortran string.
 

Detailed Description

Convert a c sting to a Fortran string.

Since
2.2

Definition at line 129 of file kim_log_module.f90.

Member Function/Subroutine Documentation

◆ kim_log_convert_c_string()

recursive subroutine kim_log_module::kim_convert_c_string::kim_log_convert_c_string ( type(c_ptr), intent(in), value  c_char_ptr,
character(len=*, kind=c_char), intent(out)  string 
)

Convert a c sting to a Fortran string.

Convert a c string, given in terms of a char pointer to a Fortran string variable.

Parameters
[in]c_char_ptrA pointer to a null terminated c string
[out]stringA Fortran string variable
Since
2.2

Definition at line 380 of file kim_log_module.f90.


The documentation for this interface was generated from the following file: