SYNOPSIS

#include <bson.h>

bson_string_t *
bson_string_new (const char *str);

DESCRIPTION

The bson_string_new() function shall create a new instance of bson_string_t.

If str is non-NULL, it will be copied.

RETURN VALUE

A newly allocated bson_string_t.

ERRORS

No errors are defined.

SEE ALSO

AUTHORS

This page was written by MongoDB, Inc.