[#BIO_new_from_core_bio]
= BIO&lowbar;new&lowbar;from&lowbar;core&lowbar;bio
:mrdocs:

Wrap a provider OSSL&lowbar;CORE&lowbar;BIO in a library BIO&lowbar;s&lowbar;core() BIO&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BIO.adoc[BIO]*
BIO&lowbar;new&lowbar;from&lowbar;core&lowbar;bio(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    xref:OSSL_CORE_BIO.adoc[OSSL&lowbar;CORE&lowbar;BIO]* corebio);
----

== Return Value

New core BIO, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| Library context for the new BIO, or NULL for the default&period;
| *corebio*
| Provider core BIO to wrap (ownership rules follow the provider API)&period;
|===


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