Source file src/syscall/linkname_bsd.go
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 darwin || dragonfly || freebsd || netbsd || openbsd 6 7 package syscall 8 9 import _ "unsafe" 10 11 // used by internal/syscall/unix 12 //go:linkname ioctlPtr 13 14 // golang.org/x/net linknames sysctl. 15 // Do not remove or change the type signature. 16 // 17 //go:linkname sysctl 18