1BSON_READER_NEW_FROM_FILE(3) libbson BSON_READER_NEW_FROM_FILE(3)
2
3
4
6 bson_reader_new_from_file - bson_reader_new_from_file()
7
9 bson_reader_t *
10 bson_reader_new_from_file (const char *path, bson_error_t *error);
11
13 • path: A filename in the host filename encoding.
14
15 • error: A bson_error_t.
16
18 Creates a new bson_reader_t using the file denoted by filename.
19
21 Errors are propagated via the error parameter.
22
24 A newly allocated bson_reader_t on success, otherwise NULL and error is
25 set.
26
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.17.6 Jun 03, 2021 BSON_READER_NEW_FROM_FILE(3)