[#OPENSSL_sk_new_reserve] = OPENSSL_sk_new_reserve :mrdocs: Allocate a stack with comparison function `c` and room for `n` elements. == Synopsis Declared in `<openssl/stack.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:OPENSSL_STACK.adoc[OPENSSL_STACK]* OPENSSL_sk_new_reserve( xref:OPENSSL_sk_compfunc.adoc[OPENSSL_sk_compfunc] c, int n); ---- == Return Value New stack, or NULL on failure; free with OPENSSL_sk_free(). == Parameters [cols="1,4"] |=== | Name| Description | *c* | Comparison callback, or NULL for an unordered stack. | *n* | Number of element slots to reserve up front. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#