---
name: "mongoc_write_concern_is_acknowledged"
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_is_acknowledged"
---

# mongoc\_write\_concern\_is\_acknowledged(3)

## SYNOPSIS

```
bool
mongoc_write_concern_is_acknowledged (
   const mongoc_write_concern_t *write_concern);
```

## PARAMETERS

- •

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

## DESCRIPTION

Test if this is an acknowledged or unacknowledged write concern.

If **write\_concern** is NULL, returns true. (In other words, writes are acknowledged by default.)

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
