1BSON_JSON_READER_NEW_FROM_FD(3)     libbson    BSON_JSON_READER_NEW_FROM_FD(3)
2
3
4

NAME

6       bson_json_reader_new_from_fd - bson_json_reader_new_from_fd()
7

SYNOPSIS

9          bson_json_reader_t *
10          bson_json_reader_new_from_fd (int fd, bool close_on_destroy);
11

PARAMETERS

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

DESCRIPTION

19       Creates a new JSON to BSON converter that  will  be  reading  from  the
20       file-descriptor fd.
21

RETURNS

23       A   newly  allocated  bson_json_reader_t  that  should  be  freed  with
24       bson_json_reader_destroy().
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.17.4                           Feb 04, 2021  BSON_JSON_READER_NEW_FROM_FD(3)
Impressum