bson_new (3) Linux Manual Page
NAME
bson_new() – 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.
SYNOPSIS
bson_t *
bson_new(void);
DESCRIPTION
The bson_new(3) function shall create a new bson_t structure on the heap. It should be freed with bson_destroy(3) when it is no longer in use.
RETURNS
A newly allocated bson_t that should be freed with bson_destroy(3) \&.
COLOPHON
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.
