blob: 431d8504222f26c77d1e71d41be41c590bf5a59a [file] [edit]
// Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
package syscall
import _ "unsafe"
// used by internal/syscall/unix
//go:linkname ioctlPtr
// golang.org/x/net linknames sysctl.
// Do not remove or change the type signature.
//
//go:linkname sysctl
// golang.org/x/sys accesses these in assembly.
//
//go:linkname Syscall
//go:linkname Syscall6
//go:linkname Syscall9
//go:linkname RawSyscall
//go:linkname RawSyscall6