to_c_char Interface

public interface to_c_char

Format or transfer other types as a string.

Calls

interface~~to_c_char~~CallsGraph interface~to_c_char to_c_char proc~to_c_char_from_char to_c_char_from_char interface~to_c_char->proc~to_c_char_from_char proc~to_c_char_from_string to_c_char_from_string interface~to_c_char->proc~to_c_char_from_string interface~slen slen proc~to_c_char_from_string->interface~slen proc~len_string len_string interface~slen->proc~len_string

Module Procedures

private pure function to_c_char_from_char(value) result(cstr)

Convert a Fortran character string to a C character array

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: value

Return Value character(kind=c_char, len=1), (len(value)+1)

private pure function to_c_char_from_string(value) result(cstr)

Convert a Fortran string type to a C character array

Read more…

Arguments

Type IntentOptional Attributes Name
type(string_type), intent(in) :: value

Return Value character(kind=c_char, len=1), (slen(value)+1)