1BSON_STRDUP(3) libbson BSON_STRDUP(3)
23
4
SYNOPSIS
6char *
7bson_strdup (const char *str);
8
PARAMETERS
10• str: A string.
11
DESCRIPTION
13Copies str into a new string. If str is NULL, then NULL is returned.
14
RETURNS
16A newly allocated string that should be freed with bson_free().
17
AUTHOR
19MongoDB, Inc
20
COPYRIGHT
222017-present, MongoDB, Inc
2324
25
26
27
1.25.1 Nov 08, 2023 BSON_STRDUP(3)