github.com/ssdev-go/moby@v17.12.1-ce-rc2+incompatible/pkg/signal/signal_unix.go (about)

     1  // +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  	// DefaultStopSignal is the syscall signal used to stop a container in unix systems.
    20  	DefaultStopSignal = "SIGTERM"
    21  )