[#OPENSSL_sk_delete]
= OPENSSL&lowbar;sk&lowbar;delete
:mrdocs:

Remove and return the element at index `loc` from a stack&period;

== Synopsis

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

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

== Return Value

Removed element pointer, or NULL if `loc` is out of range&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *st*
| Stack to modify&period;
| *loc*
| Zero&hyphen;based index of the element to remove&period;
|===


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