1MONGOC_STREAM_FILE_NEW_FOR_PATH(3) libmongocMONGOC_STREAM_FILE_NEW_FOR_PATH(3)
2
3
4

NAME

6       mongoc_stream_file_new_for_path - mongoc_stream_file_new_for_path()
7

SYNOPSIS

9          mongoc_stream_t *
10          mongoc_stream_file_new_for_path (const char *path, int flags, int mode);
11

PARAMETERS

13       · path: The path of the target file.
14
15       · flags: Flags to be passed to open().
16
17       · mode: An optional mode to be passed to open() when creating a file.
18
19       This function shall create a new mongoc_stream_file_t after opening the
20       underlying file with open() or the platform equivalent.
21

RETURNS

23       NULL on failure, otherwise a newly allocated mongoc_stream_file_t  that
24       should be freed with mongoc_stream_destroy() when no longer in use.
25
26       errno is set upon failure.
27

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.16.2                           Feb 25, 2020MONGOC_STREAM_FILE_NEW_FOR_PATH(3)
Impressum