elvish/pkg/eval/external_cmd_unix.go

11 lines
171 B
Go
Raw Normal View History

//go:build !windows && !plan9 && !js
// +build !windows,!plan9,!js
package eval
import "syscall"
func isSIGPIPE(s syscall.Signal) bool {
return s == syscall.SIGPIPE
}