Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
BSON_REINIT(3)			     libbson			  BSON_REINIT(3)

SYNOPSIS
	void
	bson_reinit (bson_t *b);

PARAMETERS
     * b: A bson_t.

DESCRIPTION
     Reinitializes a bson_t.

     If  the bson_t structure contains a malloc()'d buffer, it may be reused. To
     be certain that any buffer is freed,  always  call  bson_destroy()  on  any
     bson_t  structure,  whether  initialized  or reinitialized, after its final
     use.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026			  BSON_REINIT(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bson_reinit&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help