DOKK / manpages / debian 13 / libmongoc-doc / mongoc_rand_seed.3.en
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

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4