Function
GLibrealloc_n
since: 2.24
Declaration [src]
gpointer
g_realloc_n (
gpointer mem,
gsize n_blocks,
gsize n_block_bytes
)
Description [src]
This function is similar to g_realloc(), 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.
Available since: 2.24