aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.23/src/syscall/linkname_bsd.go
blob: c3c6a58420283751ed447d18d9d6c7bb81afdf23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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