1BSON_STRDUP(3) libbson BSON_STRDUP(3)
23
4
NAME
6bson_strdup - bson_strdup()
7
SYNOPSIS
9char *
10bson_strdup (const char *str);
11
PARAMETERS
13• str: A string.
14
DESCRIPTION
16Copies str into a new string. If str is NULL, then NULL is returned.
17
RETURNS
19A newly allocated string that should be freed with bson_free().
20
AUTHOR
22MongoDB, Inc
23
COPYRIGHT
252017-present, MongoDB, Inc
2627
28
29
30
1.20.0 Nov 18, 2021 BSON_STRDUP(3)