Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
BSON_STRNLEN(3) 		     libbson			 BSON_STRNLEN(3)

SYNOPSIS
	size_t
	bson_strnlen (const char *s, size_t maxlen);

PARAMETERS
     * s: A string.

     * maxlen: The maximum size of string to check.

DESCRIPTION
     A portable version of strnlen().

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

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026			 BSON_STRNLEN(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bson_strnlen&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help