mongoc_rand_seed man page

mongoc_rand_seed() — Seeds the mongoc random number generator with num bytes of entropy.

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.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐19 MongoDB C Driver