bson_string_append_printf(3)

BSON_STRING_APPEND_PRINTF(3) libbson BSON_STRING_APPEND_PRINTF(3)

Warning:

Deprecated since version 1.29.0.



SYNOPSIS

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


PARAMETERS

  • string: A bson_string_t <>.
  • format: A printf style format string.

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.


Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

February 10, 2026 1.30.7