[#PEM_write_PKCS7]
= PEM&lowbar;write&lowbar;PKCS7
:mrdocs:

Write a PKCS&num;7 structure to a FILE stream in PEM form&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
PEM&lowbar;write&lowbar;PKCS7(
    FILE* fp,
    xref:PKCS7.adoc[PKCS7] const* x);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *fp*
| FILE to write to&period;
| *x*
| PKCS&num;7 object to encode&period;
|===


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