libsim  Versione6.3.0

◆ fchar_to_cstr()

integer(kind=int_b) function, dimension(len(fchar)+1), public char_utilities::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 781 del file char_utilities.F90.

781 ELSE
782  DEALLOCATE(lsv)
783 ENDIF
784 IF (PRESENT(word_end)) THEN
785  word_end => lev
786 ELSE

Generated with Doxygen.