go/src/os/executable_dragonfly.go

15 lines
371 B
Go

// Copyright 2020 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 DragonFly's <sys/sysctl.h>
const (
_CTL_KERN = 1
_KERN_PROC = 14
_KERN_PROC_PATHNAME = 9
)
var executableMIB = [4]int32{_CTL_KERN, _KERN_PROC, _KERN_PROC_PATHNAME, -1}