This function is similar to g_try_realloc(), allocating (n_blocks * n_block_bytes) bytes, but care is taken to detect possible overflow during multiplication.
previously-allocated memory, or NULL.
the number of blocks to allocate
the size of each block in bytes
the allocated memory, or NULL.
2.24
This function is similar to g_try_realloc(), allocating (n_blocks * n_block_bytes) bytes, but care is taken to detect possible overflow during multiplication.