bson_reader_new_from_file man page

bson_reader_new_from_file ā€” bson_reader_new_from_file()

Synopsis

bson_reader_t *
bson_reader_new_from_file (const char *path, bson_error_t *error);

Parameters

Description

Creates a new bson_reader_t using the file denoted by filename.

Errors

Errors are propagated via the error parameter.

Returns

A newly allocated bson_reader_t on success, otherwise NULL and error is set.

Author

MongoDB, Inc

Info

Sep 15, 2017 1.8.0 Libbson