Skip to content

Instantly share code, notes, and snippets.

@dolmen
Created January 17, 2018 21:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dolmen/e48afd4940ff98158005d7c3c7b980f2 to your computer and use it in GitHub Desktop.
List signal names on OS X
# From /usr/include/signal.h
cc -E -dM /usr/include/signal.h | sed -nE 's/^#define (SIG[A-Z0-9]+ +[1-9][0-9]{0,1})$/\1/p' | sort -n -k 2
# Or
kill -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment