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

SYNOPSIS

6          size_t
7          bson_strnlen (const char *s, size_t maxlen);
8

PARAMETERS

10s: A string.
11
12maxlen: The maximum size of string to check.
13

DESCRIPTION

15       A portable version of strnlen().
16

RETURNS

18       The length of s in bytes or maxlen if no \0 was found.
19

AUTHOR

21       MongoDB, Inc
22
24       2017-present, MongoDB, Inc
25
26
27
28
291.25.1                           Nov 08, 2023                  BSON_STRNLEN(3)
Impressum