[#OSSL_PARAM_set_utf8_ptr]
= OSSL&lowbar;PARAM&lowbar;set&lowbar;utf8&lowbar;ptr
:mrdocs:

Set a UTF&hyphen;8 pointer parameter to refer to `val` (no copy)&period;

== Synopsis

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

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

== Return Value

1 on success, or 0 on type failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| Parameter locator with type OSSL&lowbar;PARAM&lowbar;UTF8&lowbar;PTR&period;
| *val*
| Pointer to a NUL&hyphen;terminated string retained by the caller&period;
|===


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