| 1 | //go:build !windows |
| 2 | |
| 3 | package signal |
| 4 | |
| 5 | import ( |
| 6 | "syscall" |
| 7 | ) |
| 8 | |
| 9 | // Signals used in cli/command (no windows equivalent, use |
| 10 | // invalid signals so they don't get handled) |
| 11 | |
| 12 | const ( |
| 13 | // SIGCHLD is a signal sent to a process when a child process terminates, is interrupted, or resumes after being interrupted. |
| 14 | SIGCHLD = syscall.SIGCHLD |
| 15 | // SIGWINCH is a signal sent to a process when its controlling terminal changes its size |
| 16 | SIGWINCH = syscall.SIGWINCH |
| 17 | // SIGPIPE is a signal sent to a process when a pipe is written to before the other end is open for reading |
| 18 | SIGPIPE = syscall.SIGPIPE |
| 19 | ) |