home | help
BSON_STRDUP(3)			     libbson			  BSON_STRDUP(3)

SYNOPSIS
	char *
	bson_strdup (const char *str);

PARAMETERS
     * str: A string.

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

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

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026			  BSON_STRDUP(3)

home | help