[][src]Function jemallocator::ffi::nallocx

pub unsafe extern "C" fn nallocx(size: usize, flags: i32) -> usize

Returns the real size of the allocation that would result from a mallocx function call with the same arguments.

Errors

If the inputs exceed the maximum supported size class and/or alignment it returns zero.

Safety

The behavior is undefined if size == 0.