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

Read a UTF&hyphen;8 pointer parameter without copying the string&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;ptr(
    xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM] const* p,
    char const** val);
----

== Return Value

1 on success, or 0 on type&sol;error mismatch&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| Source parameter of type OSSL&lowbar;PARAM&lowbar;UTF8&lowbar;PTR&period;
| *val*
| Receives the pointer stored in `(borrowed&semi;` do not free)&period;
|===


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