Scroll to navigation

MONGOC_RAND_SEED(3) libmongoc MONGOC_RAND_SEED(3)

SYNOPSIS

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


DESCRIPTION

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

PARAMETERS

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

AUTHOR

MongoDB, Inc

COPYRIGHT

2017-present, MongoDB, Inc

May 7, 2024 1.27.1