This function is similar to g_malloc(), allocating (@n_blocks * @n_block_bytes) bytes, but care is taken to detect possible overflow during multiplication.
the number of blocks to allocate
the size of each block in bytes
Return: a pointer to the allocated memory
2.24
See Implementation
This function is similar to g_malloc(), allocating (@n_blocks * @n_block_bytes) bytes, but care is taken to detect possible overflow during multiplication.