github.com/neonyo/sys@v0.0.0-20230720094341-b1ee14be3ce8/unix/mmap_nomremap.go (about) 1 // Copyright 2023 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris 6 // +build aix darwin dragonfly freebsd openbsd solaris 7 8 package unix 9 10 var mapper = &mmapper{ 11 active: make(map[*byte][]byte), 12 mmap: mmap, 13 munmap: munmap, 14 }