1BSON_JSON_READER_NEW_FROM_FD(3) libbson BSON_JSON_READER_NEW_FROM_FD(3)
2
3
4
6 bson_json_reader_new_from_fd - bson_json_reader_new_from_fd()
7
9 bson_json_reader_t *
10 bson_json_reader_new_from_fd (int fd, bool close_on_destroy);
11
13 • fd: An open file-descriptor.
14
15 • close_on_destroy: Whether close() should be called on fd when the
16 reader is destroyed.
17
19 Creates a new JSON to BSON converter that will be reading from the
20 file-descriptor fd.
21
23 A newly allocated bson_json_reader_t that should be freed with
24 bson_json_reader_destroy().
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.17.6 Jun 03, 2021 BSON_JSON_READER_NEW_FROM_FD(3)