bson_snprintf - Man Page
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 trailing \0 in the resulting string.
Returns
The number of bytes written to str.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
Info
Nov 07, 2024 1.29.0 libbson