1BSON_JSON_READER_NEW_FROM_FILE(3) libbson BSON_JSON_READER_NEW_FROM_FILE(3)
2
3
4
6 bson_json_reader_new_from_file - bson_json_reader_new_from_file()
7
9 bson_json_reader_t *
10 bson_json_reader_new_from_file (const char *filename, bson_error_t *error);
11
13 • filename: A file-name in the system file-name encoding.
14
15 • error: A bson_error_t.
16
18 Creates a new bson_json_reader_t using the underlying file found at
19 filename.
20
22 Errors are propagated via error.
23
25 A newly allocated bson_json_reader_t if successful, otherwise NULL and
26 error is set.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.20.0 Nov 18, 2021BSON_JSON_READER_NEW_FROM_FILE(3)