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