table of contents
| BSON_OID_INIT(3) | libbson | BSON_OID_INIT(3) |
SYNOPSIS¶
void bson_oid_init (bson_oid_t *oid, bson_context_t *context);
PARAMETERS¶
- oid: A bson_oid_t <>.
- context: An optional bson_context_t <> or NULL.
DESCRIPTION¶
Generates a new bson_oid_t <> using either context or the default bson_context_t <>.
Author¶
MongoDB, Inc
Copyright¶
2009-present, MongoDB, Inc.
| December 11, 2025 | 2.2.1 |