[#OSSL_CMP_snprint_PKIStatusInfo]
= OSSL&lowbar;CMP&lowbar;snprint&lowbar;PKIStatusInfo
:mrdocs:

Format a PKIStatusInfo structure into a human&hyphen;readable string&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
char*
OSSL&lowbar;CMP&lowbar;snprint&lowbar;PKIStatusInfo(
    xref:OSSL_CMP_PKISI.adoc[OSSL&lowbar;CMP&lowbar;PKISI] const* statusInfo,
    char* buf,
    size&lowbar;t bufsize);
----

== Return Value

`buf` on success, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *statusInfo*
| PKIStatusInfo to format&period;
| *buf*
| Destination buffer&period;
| *bufsize*
| Size of `buf&period;`
|===


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