home | help
BSON_COPY_TO(3) 		     libbson			 BSON_COPY_TO(3)

SYNOPSIS
	void
	bson_copy_to (const bson_t *src, bson_t *dst);

PARAMETERS
     * src: A bson_t.

     * dst: A bson_t.

DESCRIPTION
     The  bson_copy_to()  function  shall initialize dst with a copy of the con-
     tents of src.

     dst MUST be an uninitialized bson_t to avoid leaking memory.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026			 BSON_COPY_TO(3)

home | help