Skip to content

Commit

Permalink
Merge pull request #381 from v1gnesh/main
Browse files Browse the repository at this point in the history
Add exit codes for an IBM Z OS, named 'zos'
  • Loading branch information
justjanne authored May 23, 2023
2 parents d07d474 + 869fb73 commit 8eac300
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions exitcode/exitcode_zos.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package exitcode

var Signals = map[int]string{
0x01: "SIGHUP",
0x02: "SIGINT",
0x03: "SIGABRT",
0x04: "SIGILL",
0x05: "SIGPOLL",
0x06: "SIGURG",
0x07: "SIGSTOP",
0x08: "SIGFPE",
0x09: "SIGKILL",
0x0a: "SIGBUS",
0x0b: "SIGSEGV",
0x0c: "SIGSYS",
0x0d: "SIGPIPE",
0x0e: "SIGALRM",
0x0f: "SIGTERM",
0x10: "SIGUSR1",
0x11: "SIGUSR2",
0x12: "SIGABND",
0x13: "SIGCONT",
0x14: "SIGCHLD",
0x15: "SIGTTIN",
0x16: "SIGTTOU",
0x17: "SIGIO",
0x18: "SIGQUIT",
0x19: "SIGTSTP",
0x1a: "SIGTRAP",
0x1b: "SIGIOERR",
0x1c: "SIGWINCH",
0x1d: "SIGXCPU",
0x1e: "SIGXFSZ",
0x1f: "SIGVTALRM",
0x20: "SIGPROF",
0x26: "SIGDCE",
0x27: "SIGDUMP",
}

0 comments on commit 8eac300

Please sign in to comment.