src/runtime/export_linux_test.go
raw| 1 | // Copyright 2015 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | // Export guts for testing. |
| 6 | |
| 7 | package runtime |
| 8 | |
| 9 | const SiginfoMaxSize = _si_max_size |
| 10 | const SigeventMaxSize = _sigev_max_size |
| 11 | |
| 12 | var NewOSProc0 = newosproc0 |
| 13 | var Mincore = mincore |
| 14 | var ParseRelease = parseRelease |
| 15 | |
| 16 | type Siginfo siginfo |
| 17 | type Sigevent sigevent |