1MONGOC_RAND_ADD(3) libmongoc MONGOC_RAND_ADD(3)
2
3
4
6 mongoc_rand_add - mongoc_rand_add()
7
9 void
10 mongoc_rand_add (const void *buf, int num, double entropy);
11
13 Mixes num bytes of data into the mongoc random number generator.
14 Entropy specifies a lower bound estimate of the randomness contained in
15 buf.
16
18 · buf: A buffer.
19
20 · num: An int of number of bytes in buf.
21
22 · entropy: A double of randomness estimate in buf.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.16.2 Feb 25, 2020 MONGOC_RAND_ADD(3)