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

NAME

6       mongoc_stream_file_new - mongoc_stream_file_new()
7

SYNOPSIS

9          mongoc_stream_t *
10          mongoc_stream_file_new (int fd) BSON_GNUC_WARN_UNUSED_RESULT;
11

PARAMETERS

13fd: A UNIX style file-descriptor.
14
15       Creates a new mongoc_stream_file_t using the file-descriptor provided.
16

RETURNS

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

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.23.1                           Oct 20, 2022        MONGOC_STREAM_FILE_NEW(3)
Impressum