[#OPENSSL_sk_dup]
= OPENSSL&lowbar;sk&lowbar;dup
:mrdocs:

Shallow&hyphen;copy a stack (element pointers are duplicated, not deep&hyphen;copied)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OPENSSL_STACK.adoc[OPENSSL&lowbar;STACK]*
OPENSSL&lowbar;sk&lowbar;dup(xref:OPENSSL_STACK.adoc[OPENSSL&lowbar;STACK] const* st);
----

== Return Value

New stack with the same element pointers, or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *st*
| Source stack&period;
|===


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