---
name: "bson_strdupv_printf"
section: "3"
platform: "linux"
package: "libbson-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bson_strdupv_printf"
---

# bson\_strdupv\_printf(3)

## SYNOPSIS

```
char *
bson_strdupv_printf (const char *format, va_list args);
```

## PARAMETERS

- •

  **format**: A printf style format string.

- •

  **args**: A va\_list.

## DESCRIPTION

This function is like *bson\_strdup\_printf()* except takes a va\_list of parameters.

## RETURNS

A newly allocated string that should be freed with bson\_free().

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
