[][src]Function jemalloc_sys::nallocx

pub unsafe extern "C" fn nallocx(size: size_t, flags: c_int) -> size_t

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.