mongoc_rand_add() — MongoDB C Driver 1.9.2

- MongoDB C Driver 1.9.2 »
- API Reference »
- mongoc_rand

# mongoc_rand_add()

## Synopsis

    void
    mongoc_rand_add (const void *buf, int num, double entropy);

## Description

Mixes num bytes of data into the mongoc random number generator. Entropy specifies a lower bound estimate of the randomness contained in buf.

## Parameters

- `buf`: A buffer.
- `num`: An int of number of bytes in buf.
- `entropy`: A double of randomness estimate in buf.

Created using Sphinx 1.6.5, based on Sphinx Readable Theme.