mongoc_rand_seed(3)

mongoc_rand_seed()

Section 3 libmongoc-doc bookworm source

Description

MONGOC_RAND_SEED

NAME

mongoc_rand_seed - mongoc_rand_seed()

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