status-go/vendor/golang.org/x/net/route/syscall.go

14 lines
446 B
Go
Raw Normal View History

// Copyright 2016 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.
2022-03-10 09:44:48 +00:00
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
// +build darwin dragonfly freebsd netbsd openbsd
package route
2022-03-10 09:44:48 +00:00
import _ "unsafe" // for linkname
2022-03-10 09:44:48 +00:00
//go:linkname sysctl syscall.sysctl
func sysctl(mib []int32, old *byte, oldlen *uintptr, new *byte, newlen uintptr) error