BSON_STRDUP_PRINTF(3) libbson BSON_STRDUP_PRINTF(3)

char *
bson_strdup_printf (const char *format, ...) BSON_GNUC_PRINTF (1, 2);


format: A printf style format string.

This function performs a printf style format but into a newly allocated string.

A newly allocated string that should be freed with bson_free().

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0