#[no_mangle]
pub unsafe extern "C" fn nstd_os_linux_alloc_allocate(
    size: usize
) -> NSTDAny
Expand description

Allocates a block of memory on the heap.

Parameters

  • const NSTDUSize size - The number of bytes to allocate.

Returns

NSTDAny ptr - A pointer to the heap block of memory.