blob: f59c9b954975b4b0a7d5a6f769c9babf2d138feb [file] [log] [blame]
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package runtime
import _ "unsafe" // for go:linkname
//go:linkname os_sigpipe os.sigpipe
func os_sigpipe() {
func signame(sig uint32) string {
if sig >= uint32(len(sigtable)) {
return ""
return sigtable[sig].name