Ensure a stack's internal array can hold at least n elements without reallocating.
Synopsis
Declared in <openssl/stack.h>
int
OPENSSL_sk_reserve(
OPENSSL_STACK* st,
int n);
Return Value
1 on success, or 0 on allocation failure.
Parameters
Name |
Description |
st |
Stack to resize. |
n |
Desired capacity. |
Created with MrDocs