libsim Versione 7.2.1

◆ fchar_to_cstr()

integer(kind=int_b) function, dimension(len(fchar)+1), public fchar_to_cstr ( character(len=*), intent(in) fchar)

Converts a CHARACTER variable into a string which can be directly passed to a C function requiring a null-terminated const char* (input) argument.

If the result is going to be stored into an array, this has to be dimensioned with a suitable size (LEN(fchar) + 1 ).

Parametri
[in]fcharvariable to be converted

Definizione alla linea 755 del file char_utilities.F90.

756 ENDIF
757 nword = nword + 1
758ENDDO
759
760IF (.NOT.PRESENT(word_start) .AND. .NOT.PRESENT(word_end)) RETURN
761

Generated with Doxygen.