1BSON_STRDUP_PRINTF(3) libbson BSON_STRDUP_PRINTF(3)
23
4
NAME
6bson_strdup_printf - bson_strdup_printf()
7
SYNOPSIS
9char *
10bson_strdup_printf (const char *format, ...) BSON_GNUC_PRINTF (1, 2);
11
PARAMETERS
13• format: A printf style format string.
14
DESCRIPTION
16This function performs a printf style format but into a newly allocated
17string.
18
RETURNS
20A newly allocated string that should be freed with bson_free().
21
AUTHOR
23MongoDB, Inc
24
COPYRIGHT
262017-present, MongoDB, Inc
2728
29
30
31
1.24.3 Aug 17, 2023 BSON_STRDUP_PRINTF(3)