github.com/q45/go@v0.0.0-20151101211701-a4fb8c13db3f/src/runtime/signal_unix.go (about) 1 // Copyright 2012 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 darwin dragonfly freebsd linux netbsd openbsd solaris 6 7 package runtime 8 9 import _ "unsafe" // for go:linkname 10 11 //go:linkname os_sigpipe os.sigpipe 12 func os_sigpipe() { 13 systemstack(sigpipe) 14 }