bson_strdup_printf man page

bson_strdup_printf ā€” bson_strdup_printf()

Synopsis

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

Parameters

Description

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

Returns

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

Author

MongoDB, Inc

Info

Sep 15, 2017 1.8.0 Libbson