Man page - mongoc_uri_copy(3)

Packages contas this manual

Manual

MONGOC_URI_COPY(3) libmongoc MONGOC_URI_COPY(3)

mongoc_uri_t *
mongoc_uri_copy (const mongoc_uri_t *uri);


uri: A mongoc_uri_t.

Copies the entire contents of a URI.

A newly allocated mongoc_uri_t that should be freed with mongoc_uri_destroy(). May return NULL on invalid host.

MongoDB, Inc

2009-present, MongoDB, Inc.

December 18, 2025 1.30.4