Skip to content

Commit

Permalink
Merge pull request #278 from mcilloni/dragonfly-signums
Browse files Browse the repository at this point in the history
added signal numbers for DragonFly BSD
  • Loading branch information
justjanne authored Jan 19, 2021
2 parents e451523 + 0643f77 commit b2ccf0a
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions exitcode/exitcode_dragonfly.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
package exitcode

var Signals = map[int]string{
0x01: "SIGHUP",
0x02: "SIGINT",
0x03: "SIGQUIT",
0x04: "SIGILL",
0x05: "SIGTRAP",
0x06: "SIGABRT",
0x07: "SIGEMT",
0x08: "SIGFPE",
0x09: "SIGKILL",
0x0A: "SIGBUS",
0x0B: "SIGSEGV",
0x0C: "SIGSYS",
0x0D: "SIGPIPE",
0x0E: "SIGALRM",
0x0F: "SIGTERM",
0x10: "SIGURG",
0x11: "SIGSTOP",
0x12: "SIGTSTP",
0x13: "SIGCONT",
0x14: "SIGCHLD",
0x15: "SIGTTIN",
0x16: "SIGTTOU",
0x17: "SIGIO",
0x18: "SIGXCPU",
0x19: "SIGXFSZ",
0x1A: "SIGVTALRM",
0x1B: "SIGPROF",
0x1C: "SIGWINCH",
0x1D: "SIGINFO",
0x20: "SIGTHR",
0x21: "SIGCKPT",
0x22: "SIGCKPTEXIT",
}

0 comments on commit b2ccf0a

Please sign in to comment.