DOKK / manpages / debian 10 / libbson-doc / bson_new.3.en
BSON_NEW(3) Libbson BSON_NEW(3)

bson_new - bson_new()

bson_t *
bson_new (void);


The bson_new() function shall create a new bson_t structure on the heap. It should be freed with bson_destroy() when it is no longer in use.

A newly allocated bson_t that should be freed with bson_destroy().

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0