1MONGOC_STREAM_FILE_NEW(3) libmongoc MONGOC_STREAM_FILE_NEW(3)
2
3
4
6 mongoc_stream_file_new - mongoc_stream_file_new()
7
9 mongoc_stream_t *
10 mongoc_stream_file_new (int fd);
11
13 ยท fd: A UNIX style file-descriptor.
14
15 Creates a new mongoc_stream_file_t using the file-descriptor provided.
16
18 NULL upon failure, otherwise a newly allocated mongoc_stream_file_t
19 that should be freed with mongoc_stream_destroy() when no longer in
20 use.
21
22 errno is set upon failure.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.16.2 Feb 25, 2020 MONGOC_STREAM_FILE_NEW(3)