1BSON_STRNLEN(3)                     libbson                    BSON_STRNLEN(3)
2
3
4

NAME

6       bson_strnlen - bson_strnlen()
7

SYNOPSIS

9          size_t
10          bson_strnlen (const char *s, size_t maxlen);
11

PARAMETERS

13s: A string.
14
15maxlen: The maximum size of string to check.
16

DESCRIPTION

18       A portable version of strnlen().
19

RETURNS

21       The length of s in bytes or maxlen if no \0 was found.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.20.0                           Nov 18, 2021                  BSON_STRNLEN(3)
Impressum