bson_strdup - Man Page

Synopsis

char *
bson_strdup (const char *str);

Parameters

Description

Copies str into a new string. If str is NULL, then NULL is returned.

Returns

A newly allocated string that should be freed with bson_free().

Author

MongoDB, Inc

Info

Apr 03, 2024 1.26.2 libbson