bson_init(3) The bson_init() function shall initialize a bson_t that is placed on the stack. This is equivalent to initializing a bson_t to BSON_INITIALIZER.

SYNOPSIS


void
bson_init (bson_t *b);

PARAMETERS

b
A bson_t \&.

DESCRIPTION

The bson_init(3) function shall initialize a bson_t that is placed on the stack. This is equivalent to initializing a bson_t to BSON_INITIALIZER \&.

COLOPHON

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.