[#OSSL_PARAM_get_utf8_string_ptr]
= OSSL&lowbar;PARAM&lowbar;get&lowbar;utf8&lowbar;string&lowbar;ptr
:mrdocs:

Return a pointer to the UTF&hyphen;8 contents of an OSSL&lowbar;PARAM without copying&period;

== Synopsis

Declared in `&lt;openssl&sol;params&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;PARAM&lowbar;get&lowbar;utf8&lowbar;string&lowbar;ptr(
    xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM] const* p,
    char const** val);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| Parameter of type OSSL&lowbar;PARAM&lowbar;UTF8&lowbar;STRING or OSSL&lowbar;PARAM&lowbar;UTF8&lowbar;PTR&period;
| *val*
| Receives a pointer to the internal string data (do not free)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
