[#OPENSSL_sk_value]
= OPENSSL&lowbar;sk&lowbar;value
:mrdocs:

Return the element at index `idx` in a stack (no bounds checking beyond returning NULL)&period;

== Synopsis

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

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

== Return Value

Element pointer, or NULL if `idx` is out of range&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *st*
| Stack to query&period;
| *idx*
| Zero&hyphen;based index&period;
|===


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