[#OSSL_DECODER_from_fp]
= OSSL&lowbar;DECODER&lowbar;from&lowbar;fp
:mrdocs:

Run decoding from a FILE stream (same as OSSL&lowbar;DECODER&lowbar;from&lowbar;bio() with a file BIO)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;DECODER&lowbar;from&lowbar;fp(
    xref:OSSL_DECODER_CTX.adoc[OSSL&lowbar;DECODER&lowbar;CTX]* ctx,
    FILE* in);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Configured decoder context&period;
| *in*
| Input FILE stream&period;
|===


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