summaryrefslogtreecommitdiff
path: root/libgo/go/internal/x/net/route/syscall_go1_12_darwin.go
blob: 7922a6836fc3da2e7b1668640289192d9730b84e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2018 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.

// +build go1.12

package route

import _ "unsafe" // for linkname

//go:linkname sysctl syscall.sysctl
func sysctl(mib []int32, old *byte, oldlen *uintptr, new *byte, newlen uintptr) error