mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-04 02:37:50 +08:00
0adf0ec147
The unix build tag is supported by Go 1.19.
10 lines
120 B
Go
10 lines
120 B
Go
//go:build unix
|
|
|
|
package eval
|
|
|
|
import "syscall"
|
|
|
|
func isSIGPIPE(s syscall.Signal) bool {
|
|
return s == syscall.SIGPIPE
|
|
}
|