get_string_internal
int ret = get_string_internal(p, (void **)val, &max_len, NULL,
return get_string_internal(p, val, &max_len, used_len,