DOKK / manpages / debian 10 / libmongoc-doc / mongoc_rand_add.3.en
MONGOC_RAND_ADD(3) MongoDB C Driver MONGOC_RAND_ADD(3)

mongoc_rand_add - mongoc_rand_add()

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


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

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

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0