gobj_calloc_func()
#
Returns the current system memory allocation function for zero-initialized memory blocks.
Prototype
sys_calloc_fn_t gobj_calloc_func(void);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
This function does not take any parameters. |
Return Value
A function pointer of type sys_calloc_fn_t
that points to the current memory allocation function used for zero-initialized memory blocks.
Notes
This function allows retrieval of the memory allocation function used internally for zero-initialized memory blocks. The returned function can be used to allocate memory in a manner consistent with the system’s memory management strategy.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples