std::core::mem::vm

commit

fn void? commit(void* ptr, usz len, VirtualMemoryAccess access = READWRITE)
Makes a region of memory available that was previously retrieved using 'alloc'. This is necessary on Win32,
but optional on Posix.

Parameters