1MONGOC_STREAM_FILE_NEW(3)          libmongoc         MONGOC_STREAM_FILE_NEW(3)
2
3
4

SYNOPSIS

6          mongoc_stream_t *
7          mongoc_stream_file_new (int fd) BSON_GNUC_WARN_UNUSED_RESULT;
8

PARAMETERS

10fd: A UNIX style file-descriptor.
11
12       Creates a new mongoc_stream_file_t using the file-descriptor provided.
13

RETURNS

15       NULL  upon  failure,  otherwise  a newly allocated mongoc_stream_file_t
16       that should be freed with mongoc_stream_destroy()  when  no  longer  in
17       use.
18
19       errno is set upon failure.
20

AUTHOR

22       MongoDB, Inc
23
25       2017-present, MongoDB, Inc
26
27
28
29
301.25.1                           Nov 08, 2023        MONGOC_STREAM_FILE_NEW(3)
Impressum