1MONGOC_CLEANUP(3) MongoDB C Driver MONGOC_CLEANUP(3)
2
3
4
6 mongoc_cleanup - mongoc_cleanup()
7
9 void
10 mongoc_cleanup (void);
11
13 Initialize the MongoDB C Driver by calling mongoc_init exactly once at
14 the beginning of your program. It is responsible for initializing
15 global state such as process counters, SSL, and threading primitives.
16
17 Call mongoc_cleanup exactly once at the end of your program to release
18 all memory and other resources allocated by the driver. You must not
19 call any other MongoDB C Driver functions after mongoc_cleanup. Note
20 that mongoc_init does not reinitialize the driver after mongoc_cleanup.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.14.0 Feb 22, 2019 MONGOC_CLEANUP(3)