summaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.24/src/os/executable_netbsd.go
blob: fd075390e6c763e36913b22d30761ea43fd6508f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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.

package os

// From NetBSD's <sys/sysctl.h>
const (
	_CTL_KERN           = 1
	_KERN_PROC_ARGS     = 48
	_KERN_PROC_PATHNAME = 5
)

var executableMIB = [4]int32{_CTL_KERN, _KERN_PROC_ARGS, -1, _KERN_PROC_PATHNAME}