TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.24
This function is similar to g_malloc0(), allocating (n_blocks * n_block_bytes) bytes, but care is taken to detect possible overflow during multiplication.
g_malloc0()
n_blocks
n_block_bytes
If the allocation fails (because the system is out of memory), the program is terminated.
the number of blocks to allocate
the size of each block in bytes
a pointer to the allocated memory
2.24
This function is similar to
g_malloc0(), allocating (n_blocks*n_block_bytes) bytes, but care is taken to detect possible overflow during multiplication.If the allocation fails (because the system is out of memory), the program is terminated.