SysTutorials

Linux Manual Pages › Section 3

mongoc_rand_seed(3)

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.