我熟悉几个过程信号以及它们的作用,但我想了解它们。
关于每个信号,我想了解三件事。
这是信号列表和我目前所拥有的。
0 - ?
1 - SIGHUP - ?, controlling terminal closed,
2 - SIGINT - interupt process stream, ctrl-C
3 - SIGQUIT - like ctrl-C but with a core dump, interuption by error in code, ctl-/
4 - SIGILL
5 - SIGTRAP
6 - SIGABRT
7 - SIGBUS
8 - SIGFPE
9 - SIGKILL - terminate immediately/hard kill, use when 15 doesn't work or when something disasterous might happen if process is allowed to …Run Code Online (Sandbox Code Playgroud) signals ×1