bson_strnlen - Man Page
bson_strnlen()
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
Info
May 09, 2023 1.23.4 libbson