Deletes the mappings for the specified address range, causing further references to addresses within the range to generate invalid memory references. Note that while POSIX allows unmapping a region in the middle of an existing mapping, Zig’s munmap function does not, for two reasons:
- It violates the Zig principle that resource deallocation must succeed.
- The Windows function, VirtualFree, has this restriction.