Allocates a block of memory via g_slice_alloc() and initializes the returned memory to 0. Note that the underlying slice allocation mechanism can be changed with the [G_SLICE=always-malloc]G_SLICE environment variable.
the number of bytes to allocate
a pointer to the allocated block, which will be NULL if and only if mem_size is 0
2.10
Allocates a block of memory via g_slice_alloc() and initializes the returned memory to 0. Note that the underlying slice allocation mechanism can be changed with the [G_SLICE=always-malloc]G_SLICE environment variable.