Function
GLibmalloc
since: 2.0
Declaration [src]
gpointer
g_malloc (
gsize n_bytes
)
Description [src]
Allocates n_bytes
bytes of memory.
If n_bytes
is 0 it returns NULL
.
If the allocation fails (because the system is out of memory), the program is terminated.
Available since: 2.0