sunrise_kernel::syscalls
pub fn set_heap_size(new_size: usize) -> Result<usize, UserspaceError>
Resize the heap of a process, just like a brk. It can both expand, and shrink the heap.
If new_size == 0, the heap space is entirely de-allocated.
new_size
The address of the start of the heap.