File: syscall_go1_12_darwin.go

package info (click to toggle)
golang-golang-x-net-dev 1%3A0.0%2Bgit20181201.351d144%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,676 kB
  • sloc: makefile: 53; asm: 18
file content (12 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (32)
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