summaryrefslogtreecommitdiffstats
path: root/src/runtime/export_linux_test.go
blob: a441c0efa25a57287f51bcb0e0a1d669c12fbef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2015 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.

// Export guts for testing.

package runtime

import (
	"runtime/internal/syscall"
)

const SiginfoMaxSize = _si_max_size
const SigeventMaxSize = _sigev_max_size

var Closeonexec = syscall.CloseOnExec
var NewOSProc0 = newosproc0
var Mincore = mincore
var Add = add

type Siginfo siginfo
type Sigevent sigevent