TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.88.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.41
Since 2.72
This function is similar to g_aligned_alloc(), but it will also clear the allocated memory before returning it.
g_aligned_alloc()
the number of blocks to allocate
the size of each block in bytes
the alignment to be enforced, which must be a positive power of 2 and a multiple of sizeof(void*)
sizeof(void*)
the allocated, cleared memory
2.72
This function is similar to
g_aligned_alloc(), but it will also clear the allocated memory before returning it.