fortran_to_c_buffer Subroutine

private subroutine fortran_to_c_buffer(text, buffer, buffer_len)

Copy trimmed Fortran text into a NUL-terminated C buffer.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: text
character(kind=c_char, len=1), intent(out) :: buffer(*)
integer, intent(in) :: buffer_len