...

Source file src/github.com/moby/sys/signal/signal_unix.go

Documentation: github.com/moby/sys/signal

     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  

View as plain text