Skip to content

Instantly share code, notes, and snippets.

@fidalgo
Last active March 24, 2020 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fidalgo/3beaa4ce0e405287fcf1462efb8317a1 to your computer and use it in GitHub Desktop.
Save fidalgo/3beaa4ce0e405287fcf1462efb8317a1 to your computer and use it in GitHub Desktop.
Ruby signal.list under Fedora 31
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
ruby -e "puts Signal.list"
{"EXIT"=>0, "HUP"=>1, "INT"=>2, "QUIT"=>3, "ILL"=>4, "TRAP"=>5, "ABRT"=>6, "IOT"=>6, "FPE"=>8, "KILL"=>9, "BUS"=>7, "SEGV"=>11, "SYS"=>31, "PIPE"=>13, "ALRM"=>14, "TERM"=>15, "URG"=>23, "STOP"=>19, "TSTP"=>20, "CONT"=>18, "CHLD"=>17, "CLD"=>17, "TTIN"=>21, "TTOU"=>22, "IO"=>29, "XCPU"=>24, "XFSZ"=>25, "VTALRM"=>26, "PROF"=>27, "WINCH"=>28, "USR1"=>10, "USR2"=>12, "PWR"=>30, "POLL"=>29}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment