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