home | help
BSON_REALLOC_CTX(3)		     libbson		     BSON_REALLOC_CTX(3)

SYNOPSIS
	void *
	bson_realloc_ctx (void *mem, size_t num_bytes, void *ctx);

PARAMETERS
     * mem: A memory region.

     * num_bytes: A size_t containing the requested size.

     * ctx: A consumer-specific pointer or NULL.

DESCRIPTION
     This  function is identical to bson_realloc() except it takes a context pa-
     rameter. This is useful when working with pooled or specific memory alloca-
     tors.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026		     BSON_REALLOC_CTX(3)

home | help