...

Source file src/runtime/sigaction.go

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

View as plain text