2021-09-16 10:17:20 -04:00
|
|
|
//go:build !windows
|
2017-04-17 18:08:24 -04:00
|
|
|
// +build !windows
|
|
|
|
|
2021-08-09 13:15:46 -04:00
|
|
|
package signal
|
2017-04-17 18:08:24 -04:00
|
|
|
|
|
|
|
import (
|
|
|
|
"syscall"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Signals used in cli/command (no windows equivalent, use
|
|
|
|
// invalid signals so they don't get handled)
|
|
|
|
|
|
|
|
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
|
|
|
|
// 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
|
|
|
|
)
|