Last active
August 29, 2021 20:18
-
-
Save alimsk/5e739c829e74df89c05fd2646cc5ffd0 to your computer and use it in GitHub Desktop.
linux signal (typescript/js)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// it's fucking hard to find this piece of shit | |
const signals = { | |
SIGHUP: 1, | |
SIGINT: 2, | |
SIGQUIT: 3, | |
SIGILL: 4, | |
SIGTRAP: 5, | |
SIGABRT: 6, | |
SIGIOT: 6, | |
SIGBUS: 7, | |
SIGFPE: 8, | |
SIGKILL: 9, | |
SIGUSR1: 10, | |
SIGSEGV: 11, | |
SIGUSR2: 12, | |
SIGPIPE: 13, | |
SIGALRM: 14, | |
SIGTERM: 15, | |
SIGCHLD: 17, | |
SIGSTKFLT: 16, | |
SIGCONT: 18, | |
SIGSTOP: 19, | |
SIGTSTP: 20, | |
SIGTTIN: 21, | |
SIGTTOU: 22, | |
SIGURG: 23, | |
SIGXCPU: 24, | |
SIGXFSZ: 25, | |
SIGVTALRM: 26, | |
SIGPROF: 27, | |
SIGWINCH: 28, | |
SIGIO: 29, | |
SIGPOLL: 29, | |
SIGPWR: 30, | |
SIGSYS: 31 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment