MONGOC_RAND_SEED(3) libmongoc MONGOC_RAND_SEED(3)

void
mongoc_rand_seed (const void *buf, int num);


Seeds the mongoc random number generator with num bytes of entropy.

  • buf: A buffer.
  • num: An int of number of bytes in buf.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0