1BSON_READER_NEW_FROM_FILE(3) libbson BSON_READER_NEW_FROM_FILE(3)
2
3
4
6 bson_reader_t *
7 bson_reader_new_from_file (const char *path, bson_error_t *error);
8
10 • path: A filename in the host filename encoding.
11
12 • error: A bson_error_t.
13
15 Creates a new bson_reader_t using the file denoted by filename.
16
18 Errors are propagated via the error parameter.
19
21 A newly allocated bson_reader_t on success, otherwise NULL and error is
22 set.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.25.1 Nov 08, 2023 BSON_READER_NEW_FROM_FILE(3)