libsim Versione 7.2.4
|
◆ fchar_to_cstr_alloc()
Converts a CHARACTER variable into a string which can be directly passed to a C function requiring a null-terminated char* (input/output) argument. The result is stored into pcstr which is allocated within the subroutine and has to be deallocated by the calling procedure.
Definizione alla linea 770 del file char_utilities.F90. 771 ELSE
772 le = le + ls - 2
773 ENDIF
774 nword = nword + 1
775 lsv(nword) = ls
776 lev(nword) = le
777ENDDO
|