source:
tools/error.c@
bd30231
| Last change on this file since bd30231 was 7bdcac1, checked in by , 7 years ago | |
|---|---|
|
|
| File size: 129 bytes | |
| Rev | Line | |
|---|---|---|
| [7bdcac1] | 1 | #include <signal.h> |
| 2 | #include <unistd.h> | |
| 3 | ||
| 4 | int main() { | |
| 5 | // while(1); | |
| 6 | sleep(2); | |
| 7 | // raise(SIGABRT); | |
| 8 | raise(SIGSEGV); | |
| 9 | return 0; | |
| 10 | } |
Note:
See TracBrowser
for help on using the repository browser.