tryMalloc0
fn
void * tryMalloc0(size_t nBytes)Attempts to allocate n_bytes, initialized to 0's, and returns null on failure. Contrast with glib.global.malloc0, which aborts the program on failure.
Parameters
nBytes | number of bytes to allocate |
Returns
the allocated memory, or null