mongoc_init man page

mongoc_init() — This function should be called at the beginning of every program using the MongoDB C driver. It is responsible for initializing global state such as process counters, SSL, and threading primatives.

Synopsis

void
mongoc_init (void);

Description

This function should be called at the beginning of every program using the MongoDB C driver. It is responsible for initializing global state such as process counters, SSL, and threading primatives.

When your process has completed, you should also call mongoc_cleanup

Colophon

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

Referenced By

mongoc_basic_troubleshooting(3), mongoc_tutorial(3).

2016‐11‐07 MongoDB C Driver