elvish/pkg/eval/external_cmd_unix.go

10 lines
120 B
Go
Raw Normal View History

//go:build unix
package eval
import "syscall"
func isSIGPIPE(s syscall.Signal) bool {
return s == syscall.SIGPIPE
}