libsim Versione 7.2.6

◆ cstr_to_fchar()

character(len=size(cstr)-1) function, public cstr_to_fchar ( integer(kind=int_b), dimension(:), intent(in) cstr)

Converts a null-terminated C-style string into a Fortran CHARACTER variable of the same length, the null termination character is removed.

Parametri
[in]cstrvariable to be converted

Definizione alla linea 784 del file char_utilities.F90.

785 word_end => lev
786ELSE
787 DEALLOCATE(lev)
788ENDIF
789
790END FUNCTION word_split
791
792
793!> Constructor for the \a line_split class. It creates a new object
794!! allowing to split a line of text into multiple lines of predefined
795!! length at blank spaces. If a line can't be splitted because a word
796!! is longer than the line, it is truncated.
797FUNCTION line_split_new(line, ncols) RESULT(this)
798CHARACTER(len=*), INTENT(in) :: line !< line to be splitted

Generated with Doxygen.