SYNOPSIS
size_t
bson_strnlen (const char *s,
size_t maxlen);
PARAMETERS
- s
- A string.
- maxlen
- The maximum size of string to check.
RETURNS
The length of s in bytes or maxlen if no \0 was found.
size_t
bson_strnlen (const char *s,
size_t maxlen);
The length of s in bytes or maxlen if no \0 was found.