---
name: "bson_copy_to_excluding_noinit_va"
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_copy_to_excluding_noinit_va"
---

# bson\_copy\_to\_excluding\_noinit\_va(3)

## SYNOPSIS

```
void
bson_copy_to_excluding_noinit_va (const bson_t *src,
                                  bson_t *dst,
                                  const char *first_exclude,
                                  va_list args);
```

## PARAMETERS

- •

  **src**: A *bson\_t*.

- •

  **dst**: A *bson\_t*.

- •

  **first\_exclude**: The first field name to exclude.

- •

  **args**: A va\_list.

## DESCRIPTION

The *bson\_copy\_to\_excluding\_noinit\_va()* function shall copy all fields from **src** to **dst** except those specified by **first\_exclude** and **args**.

This method works the same way as *bson\_copy\_to\_excluding\_noinit()*, except it takes a va\_list. This method does not call *bson\_init()* on **dst**.

**SEE ALSO:**

```
bson_copy_to_excluding_noinit()
```

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
