Changes in uspace/lib/posix/signal.c [f215bb5:4cf8ca6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/signal.c
rf215bb5 r4cf8ca6 66 66 67 67 /** 68 * Default signal handler. Executes the default action for each signal, 69 * as reasonable within HelenOS. 70 * 71 * @param signo Signal number. 68 * 69 * @param signo 72 70 */ 73 71 void __posix_default_signal_handler(int signo) … … 77 75 abort(); 78 76 case SIGQUIT: 79 fprintf(stderr, "Quit signal raised. Exiting. \n");77 fprintf(stderr, "Quit signal raised. Exiting."); 80 78 exit(EXIT_FAILURE); 81 79 case SIGINT: 82 fprintf(stderr, "Interrupt signal caught. Exiting. \n");80 fprintf(stderr, "Interrupt signal caught. Exiting."); 83 81 exit(EXIT_FAILURE); 84 82 case SIGTERM: 85 fprintf(stderr, "Termination signal caught. Exiting. \n");83 fprintf(stderr, "Termination signal caught. Exiting."); 86 84 exit(EXIT_FAILURE); 87 85 case SIGSTOP: 88 fprintf(stderr, "Stop signal caught, but unsupported. Ignoring. \n");86 fprintf(stderr, "Stop signal caught, but unsupported. Ignoring."); 89 87 break; 90 88 case SIGKILL:
Note:
See TracChangeset
for help on using the changeset viewer.