1BSON_REALLOC_CTX(3) libbson BSON_REALLOC_CTX(3)
2
3
4
6 void *
7 bson_realloc_ctx (void *mem, size_t num_bytes, void *ctx);
8
10 • mem: A memory region.
11
12 • num_bytes: A size_t containing the requested size.
13
14 • ctx: A consumer-specific pointer or NULL.
15
17 This function is identical to bson_realloc() except it takes a context
18 parameter. This is useful when working with pooled or specific memory
19 allocators.
20
22 MongoDB, Inc
23
25 2017-present, MongoDB, Inc
26
27
28
29
301.25.1 Nov 08, 2023 BSON_REALLOC_CTX(3)