logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       MongoDB, Inc

Description

       Creates a new bson_reader_t using the file denoted by filename.

Errors

       Errors are propagated via the error parameter.

Parameters

path: A filename in the host filename encoding.

       • error: A bson_error_t.

Returns

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

Synopsis

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

See Also