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

# mongoc\_write\_concern\_get\_wtag(3)

## SYNOPSIS

```
const char *
mongoc_write_concern_get_wtag (const mongoc_write_concern_t *write_concern);
```

## PARAMETERS

- •

  **write\_concern**: A *mongoc\_write\_concern\_t*.

## DESCRIPTION

A string containing the wtag setting if it has been set. Otherwise returns **NULL**.

## RETURNS

Returns a string which should not be modified or freed, or **NULL**.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
