github.com/s1s1ty/go@v0.0.0-20180207192209-104445e3140f/src/runtime/sigaction_linux.go (about)

     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 !amd64
     6  
     7  package runtime
     8  
     9  // rt_sigaction calls the rt_sigaction system call. It is implemented in assembly.
    10  //go:noescape
    11  func rt_sigaction(sig uintptr, new, old *sigactiont, size uintptr) int32