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

13       · s: A string.
14
15       · maxlen: 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.15.2                           Nov 06, 2019                  BSON_STRNLEN(3)
Impressum