bson_snprintf - Man Page

Synopsis

int
bson_snprintf (char *str, size_t size, const char *format, ...)
   BSON_GNUC_PRINTF (3, 4);

Parameters

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

Info

Apr 03, 2024 1.26.2 libbson