API Version: 2.0
Library Version: 2.76
Generated by gi-docgen 2023.2
since: 2.10
gpointer g_slice_alloc0 ( gsize block_size )
Allocates a block of memory via g_slice_alloc() and initializes the returned memory to 0.
g_slice_alloc()
Since GLib 2.76 this always uses the system malloc() implementation internally.
malloc()
Available since: 2.10
block_size
Type: gsize
gsize
The number of bytes to allocate.
Type: gpointer
gpointer
A pointer to the allocated block, which will be NULL if and only if mem_size is 0
NULL
mem_size