3 ms·Linux has mremap() for this. macOS has vm_remap(). Not sure about other operating systems.by comex 4y agoLinux has mremap() for this. macOS has vm_remap(). Not sure about other operating systems.