Return the number of elements in a stack.

Synopsis

Declared in <openssl/stack.h>

int
OPENSSL_sk_num(OPENSSL_STACK const* st);

Return Value

Element count, or 0 if st is NULL.

Parameters

Name

Description

st

Stack to query.

Created with MrDocs