1MONGOC_RAND_SEED(3) libmongoc MONGOC_RAND_SEED(3)
23
4
NAME
6mongoc_rand_seed - mongoc_rand_seed()
7
SYNOPSIS
9void
10mongoc_rand_seed (const void *buf, int num);
11
DESCRIPTION
13Seeds the mongoc random number generator with num bytes of entropy.
14
PARAMETERS
16• buf: A buffer.
1718
• num: An int of number of bytes in buf.
19
AUTHOR
21MongoDB, Inc
22
COPYRIGHT
242017-present, MongoDB, Inc
2526
27
28
29
1.20.0 Nov 18, 2021 MONGOC_RAND_SEED(3)