1BSON_STRNLEN(3) libbson BSON_STRNLEN(3)
23
4
NAME
6bson_strnlen - bson_strnlen()
7
SYNOPSIS
9size_t
10bson_strnlen (const char *s, size_t maxlen);
11
PARAMETERS
13• s: A string.
1415
• maxlen: The maximum size of string to check.
16
DESCRIPTION
18A portable version of strnlen().
19
RETURNS
21The length of s in bytes or maxlen if no \0 was found.
22
AUTHOR
24MongoDB, Inc
25
COPYRIGHT
272017-present, MongoDB, Inc
2829
30
31
32
1.21.1 Mar 02, 2022 BSON_STRNLEN(3)