void
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_RAND_ADD(3)
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.
Synopsis
void
mongoc_rand_add (const void *buf, int num, double entropy);
