github.com/twelsh-aw/go/src@v0.0.0-20230516233729-a56fe86a7c81/runtime/export_linux_test.go (about)

     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  import (
    10  	"runtime/internal/syscall"
    11  )
    12  
    13  const SiginfoMaxSize = _si_max_size
    14  const SigeventMaxSize = _sigev_max_size
    15  
    16  var Closeonexec = syscall.CloseOnExec
    17  var NewOSProc0 = newosproc0
    18  var Mincore = mincore
    19  var Add = add
    20  
    21  type Siginfo siginfo
    22  type Sigevent sigevent