[#BIO_find_type]
= BIO&lowbar;find&lowbar;type
:mrdocs:

Walk a BIO chain and return the first BIO whose method type matches `bio&lowbar;type&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BIO.adoc[BIO]*
BIO&lowbar;find&lowbar;type(
    xref:BIO.adoc[BIO]* b,
    int bio&lowbar;type);
----

== Return Value

Matching BIO in the chain, or NULL if none matches&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| Starting BIO in the chain (may be a filter or source&sol;sink)&period;
| *bio&lowbar;type*
| BIO&lowbar;TYPE&lowbar;&ast; mask or exact type to match&period;
|===


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