DOKK / manpages / debian 13 / libbson-doc / bson_strdup.3.en
BSON_STRDUP(3) libbson BSON_STRDUP(3)

char *
bson_strdup (const char *str);


str: A string.

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

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

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4