Provided by: libbson-doc_1.26.0-1.1ubuntu2_all 

SYNOPSIS
size_t
bson_strnlen (const char *s, size_t maxlen);
PARAMETERS
• s: A string.
• maxlen: The maximum size of string to check.
DESCRIPTION
A portable version of strnlen().
RETURNS
The length of s in bytes or maxlen if no \0 was found.
AUTHOR
MongoDB, Inc
COPYRIGHT
2017-present, MongoDB, Inc
1.26.0 Mar 31, 2024 BSON_STRNLEN(3)