Source file src/runtime/cgo/cgo_linux_sigaction_generic.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 && (loong64 || riscv64)
     6  
     7  package cgo
     8  
     9  // goSigaction matches runtime.sigactiont on linux/loong64 and linux/riscv64.
    10  type goSigaction struct {
    11  	handler  uintptr
    12  	flags    uintptr
    13  	mask     uint64
    14  	restorer uintptr
    15  }
    16  

View as plain text