| BSON_READER_NEW_FROM_FILE(3) | libbson | BSON_READER_NEW_FROM_FILE(3) |
bson_reader_t * bson_reader_new_from_file (const char *path, bson_error_t *error);
Creates a new bson_reader_t using the file denoted by filename.
Errors are propagated via the error parameter.
A newly allocated bson_reader_t on success, otherwise NULL and error is set.
MongoDB, Inc
2009-present, MongoDB, Inc.
| May 7, 2025 | 1.30.4 |