Black Lives Matter. Support the Equal Justice Initiative.

Source file src/runtime/sigaction.go

Documentation: runtime

     1  // Copyright 2016 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 (linux && !amd64 && !arm64 && !ppc64le) || (freebsd && !amd64)
     6  // +build linux,!amd64,!arm64,!ppc64le freebsd,!amd64
     7  
     8  package runtime
     9  
    10  // This version is used on Linux and FreeBSD systems on which we don't
    11  // use cgo to call the C version of sigaction.
    12  
    13  //go:nosplit
    14  //go:nowritebarrierrec
    15  func sigaction(sig uint32, new, old *sigactiont) {
    16  	sysSigaction(sig, new, old)
    17  }
    18  

View as plain text