mirror of
https://github.com/apple/swift-foundation.git
synced 2025-05-28 09:47:07 +08:00
`unmap` is a non-portable function as it is not part of the C standard. The correct spelling for this on Windows is `UnmapViewOfFile` which expects that the data to be mapped by `MapViewOfFile`. This cannot be used for freeing memory in general.