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

Delete the first stack element whose pointer equals `p&period;`

== Synopsis

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

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

== Return Value

The removed pointer, or NULL if not found&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *st*
| Stack to modify&period;
| *p*
| Element pointer to remove&period;
|===


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