Ashet OS

syscall: ashet.process.memory.release

Documentation

Returns previously allocated memory back to the process heap.

Inputs

mem: []u8

The complete chunk of memory previously allocated with @ref allocate.

ptr_align: u8

The alignment that was passed to @ref allocate.ptr_align previously.