Source file src/runtime/cgo/cgo_linux_sigaction_other.go

     1  // Copyright 2026 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  //go:build goexperiment.runtimecgopurego && !msan && !tsan && linux && (386 || amd64 || arm64 || ppc64 || ppc64le)
     6  
     7  package cgo
     8  
     9  // goSigaction matches runtime.sigactiont on linux/{386,amd64,arm64,ppc64,ppc64le}.
    10  type goSigaction struct {
    11  	handler  uintptr
    12  	flags    uintptr
    13  	restorer uintptr
    14  	mask     uint64
    15  }
    16  

View as plain text