---
name: "bson_context_get_default"
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_context_get_default"
---

# bson\_context\_get\_default(3)

## SYNOPSIS

```
bson_context_t *
bson_context_get_default (void);
```

## RETURNS

The **bson\_context\_get\_default()** function shall return the default *bson\_context\_t* for the process. This context is created with the flags **BSON\_CONTEXT\_THREAD\_SAFE** and **BSON\_CONTEXT\_DISABLE\_PID\_CACHE**.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
