[#OPENSSL_sk_is_sorted]
= OPENSSL&lowbar;sk&lowbar;is&lowbar;sorted
:mrdocs:

Report whether a stack is marked sorted under its comparison function&period;

== Synopsis

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

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

== Return Value

1 if sorted (or empty&sol;no cmp), or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *st*
| Stack to query&period;
|===


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