convert_cptr Function

public function convert_cptr(cptr, length) result(fptr)

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in) :: cptr
integer(kind=c_size_t), intent(in) :: length

Return Value character(kind=c_char, len=length), pointer


Contents