[#ASN1_STRING_print_ex_fp]
= ASN1&lowbar;STRING&lowbar;print&lowbar;ex&lowbar;fp
:mrdocs:

Print an ASN&period;1 string to a FILE with ASN1&lowbar;STRING&lowbar;print&lowbar;ex() formatting flags&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;STRING&lowbar;print&lowbar;ex&lowbar;fp(
    FILE* fp,
    xref:ASN1_STRING.adoc[ASN1&lowbar;STRING] const* str,
    unsigned long flags);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *fp*
| Output stream&period;
| *str*
| String to print&period;
| *flags*
| ASN1&lowbar;STRFLGS&lowbar;&ast; formatting flags&period;
|===


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