gitee.com/bomy/docker.git@v1.13.1/pkg/signal/signal_darwin.go (about) 1 package signal 2 3 import ( 4 "syscall" 5 ) 6 7 // SignalMap is a map of Darwin signals. 8 var SignalMap = map[string]syscall.Signal{ 9 "ABRT": syscall.SIGABRT, 10 "ALRM": syscall.SIGALRM, 11 "BUG": syscall.SIGBUS, 12 "CHLD": syscall.SIGCHLD, 13 "CONT": syscall.SIGCONT, 14 "EMT": syscall.SIGEMT, 15 "FPE": syscall.SIGFPE, 16 "HUP": syscall.SIGHUP, 17 "ILL": syscall.SIGILL, 18 "INFO": syscall.SIGINFO, 19 "INT": syscall.SIGINT, 20 "IO": syscall.SIGIO, 21 "IOT": syscall.SIGIOT, 22 "KILL": syscall.SIGKILL, 23 "PIPE": syscall.SIGPIPE, 24 "PROF": syscall.SIGPROF, 25 "QUIT": syscall.SIGQUIT, 26 "SEGV": syscall.SIGSEGV, 27 "STOP": syscall.SIGSTOP, 28 "SYS": syscall.SIGSYS, 29 "TERM": syscall.SIGTERM, 30 "TRAP": syscall.SIGTRAP, 31 "TSTP": syscall.SIGTSTP, 32 "TTIN": syscall.SIGTTIN, 33 "TTOU": syscall.SIGTTOU, 34 "URG": syscall.SIGURG, 35 "USR1": syscall.SIGUSR1, 36 "USR2": syscall.SIGUSR2, 37 "VTALRM": syscall.SIGVTALRM, 38 "WINCH": syscall.SIGWINCH, 39 "XCPU": syscall.SIGXCPU, 40 "XFSZ": syscall.SIGXFSZ, 41 }