[#OPENSSL_strnlen] = OPENSSL_strnlen :mrdocs: Return the length of `str,` limited to at most `maxlen` bytes. == Synopsis Declared in `<openssl/crypto.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- size_t OPENSSL_strnlen( char const* str, size_t maxlen); ---- == Return Value Number of non‐NUL bytes before the first NUL, or `maxlen` if none is found. == Parameters [cols="1,4"] |=== | Name| Description | *str* | Possibly non‐NUL‐terminated buffer to measure. | *maxlen* | Maximum number of bytes to examine. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#