mongoc_rand_add (3) Linux Manual Page
mongoc_rand_add() – Mixes num bytes of data into the mongoc random number generator. Entropy specifies a lower bound estimate of the randomness contained in buf.
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.
Colophon
This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.
