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

FreeBSD Manual Pages

  
 
  

home | help
BSON_SNPRINTF(3)		    libbson		      BSON_SNPRINTF(3)

SYNOPSIS
	  int
	  bson_snprintf	(char *str, size_t size, const char *format, ...);

PARAMETERS
        str: The destination buffer.

        size: The size	of str.

        format: A printf style	format string.

DESCRIPTION
       This is a portable wrapper around snprintf(). It	also enforces a	trail-
       ing \0 in the resulting string.

RETURNS
       The number of bytes written to str.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025		      BSON_SNPRINTF(3)

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

home | help