---
name: "mongoc_rand_status"
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_rand_status"
---

# mongoc\_rand\_status(3)

## SYNOPSIS

```
int
mongoc_rand_status (void);
```

## DESCRIPTION

The status of the mongoc random number generator.

## RETURNS

Returns 1 if the PRNG has been seeded with enough data, 0 otherwise.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
