bson_string_append_printf()#

Synopsis#

void
bson_string_append_printf (bson_string_t *string, const char *format, ...)
   BSON_GNUC_PRINTF (2, 3);

Parameters#

Description#

Like bson_string_append() but formats a printf style string and then appends that to string.

Warning

The length of the resulting string (including the NULL terminator) MUST NOT exceed UINT32_MAX.