2021-11-01 14:41:58 +01:00
|
|
|
//go:build !windows
|
2014-11-13 10:40:22 -08:00
|
|
|
// +build !windows
|
|
|
|
|
2021-07-10 00:11:57 +02:00
|
|
|
package signal
|
2014-11-13 10:40:22 -08:00
|
|
|
|
|
|
|
import (
|
|
|
|
"syscall"
|
|
|
|
)
|
|
|
|
|
2016-09-08 14:54:01 -04:00
|
|
|
// Signals used in cli/command (no windows equivalent, use
|
2014-11-13 10:40:22 -08:00
|
|
|
// invalid signals so they don't get handled)
|
2015-07-25 10:35:07 +02:00
|
|
|
|
2015-08-04 13:51:48 -07:00
|
|
|
const (
|
|
|
|
// SIGCHLD is a signal sent to a process when a child process terminates, is interrupted, or resumes after being interrupted.
|
|
|
|
SIGCHLD = syscall.SIGCHLD
|
|
|
|
// SIGWINCH is a signal sent to a process when its controlling terminal changes its size
|
|
|
|
SIGWINCH = syscall.SIGWINCH
|
2016-03-18 16:50:18 -04:00
|
|
|
// SIGPIPE is a signal sent to a process when a pipe is written to before the other end is open for reading
|
|
|
|
SIGPIPE = syscall.SIGPIPE
|
2015-08-04 13:51:48 -07:00
|
|
|
)
|