Scroll to navigation

BSON_NEW(3) Libbson BSON_NEW(3)

NAME

bson_new - bson_new()

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

2017-present, MongoDB, Inc
August 31, 2019 1.15.1