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

bson_strdup - bson_strdup()

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

2017-present, MongoDB, Inc

October 20, 2022 1.23.1