Scroll to navigation

BSON_STRING_APPEND_PRINTF(3) libbson BSON_STRING_APPEND_PRINTF(3)

SYNOPSIS

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

BSON_GNUC_PRINTF (2, 3);


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.

October 9, 2024 1.28.1