bson_strdup_printf man page

bson_strdup_printf() — This function performs a printf style format but into a newly allocated string.

Synopsis

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

Parameters

format
A printf style format string.

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().

Colophon

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Referenced By

bson_strdupv_printf(3).

2016‐09‐02 libbson