signal_unix.go 446 B

12345678910111213141516
  1. // +build !windows
  2. package signal
  3. import (
  4. "syscall"
  5. )
  6. // Signals used in api/client (no windows equivalent, use
  7. // invalid signals so they don't get handled)
  8. // SIGCHLD is a signal sent to a process when a child process terminates, is interrupted, or resumes after being interrupted.
  9. const SIGCHLD = syscall.SIGCHLD
  10. // SIGWINCH is a signal sent to a process when its controlling terminal changes its size
  11. const SIGWINCH = syscall.SIGWINCH