[#BIO_dup_chain]
= BIO&lowbar;dup&lowbar;chain
:mrdocs:

Duplicate an entire BIO chain, copying type&hyphen;specific state where supported&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BIO.adoc[BIO]*
BIO&lowbar;dup&lowbar;chain(xref:BIO.adoc[BIO]* in);
----

== Return Value

Newly allocated chain mirroring `in,` or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *in*
| Head of the chain to duplicate&period;
|===


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