Function gnunet_sys::GNUNET_xmalloc_unchecked_[][src]

pub unsafe extern "C" fn GNUNET_xmalloc_unchecked_(
    size: usize,
    filename: *const c_char,
    linenumber: c_int
) -> *mut c_void

Allocate memory. This function does not check if the allocation request is within reasonable bounds, allowing allocations larger than 40 MB. If you don’t expect the possibility of very large allocations, use #GNUNET_malloc instead. The memory will be zero’ed out.

@param size number of bytes to allocate @param filename where is this call being made (for debugging) @param linenumber line where this call is being made (for debugging) @return pointer to size bytes of memory, NULL if we do not have enough memory