Function

GLibmalloc0

Declaration [src]

gpointer
g_malloc0 (
  gsize n_bytes
)

Description [src]

Allocates n_bytes bytes of memory, initialized to 0’s. If n_bytes is 0 it returns NULL.

Parameters

n_bytes gsize
 

The number of bytes to allocate.

Return value

Returns: gpointer
 

A pointer to the allocated memory.