mongoc_uri_new - Man Page

Synopsis

mongoc_uri_t *
mongoc_uri_new (const char *uri_string);

Parameters

Description

Calls mongoc_uri_new_with_error() <>.

Returns

A newly allocated mongoc_uri_t <> if successful. Otherwise NULL, using MONGOC_WARNING on error.

Warning:

Failure to handle the result of this function is a programming error.

Author

MongoDB, Inc

Info

Jan 27, 2026 1.30.6 libmongoc