1MONGOC_URI_COPY(3) MongoDB C Driver MONGOC_URI_COPY(3)
23
4
NAME
6mongoc_uri_copy - mongoc_uri_copy()
7
SYNOPSIS
9mongoc_uri_t *
10mongoc_uri_copy (const mongoc_uri_t *uri);
11
PARAMETERS
13· uri: A mongoc_uri_t.
14
DESCRIPTION
16Copies the entire contents of a URI.
17
RETURNS
19A newly allocated mongoc_uri_t that should be freed with mon‐
20goc_uri_destroy(). May return NULL on invalid host.
21
AUTHOR
23MongoDB, Inc
24
COPYRIGHT
262017-present, MongoDB, Inc
2728
29
30
31
1.15.2 Nov 06, 2019 MONGOC_URI_COPY(3)