1// Copyright 2024 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 unix
6
7package syscall
8
9import _ "unsafe" // for linkname
10
11// mmap should be an internal detail,
12// but widely used packages access it using linkname.
13// Notable members of the hall of shame include:
14//   - modernc.org/memory
15//   - github.com/ncruces/go-sqlite3
16//
17// Do not remove or change the type signature.
18// See go.dev/issue/67401.
19//
20//go:linkname mmap
21