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.14.0 Feb 22, 2019 BSON_STRDUP(3)