bson_new(3)
| BSON_NEW(3) | libbson | BSON_NEW(3) |
SYNOPSIS
bson_t * bson_new (void);
DESCRIPTION
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.
RETURNS
A newly allocated bson_t <> that should be freed with bson_destroy() <>.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
| February 10, 2026 | 1.30.7 |
