Changeset 00c2de63 in mainline for uspace/lib/posix/signal.c
- Timestamp:
- 2011-07-29T14:50:22Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b6759f4
- Parents:
- 6c69d19 (diff), 7ae249d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/signal.c
r6c69d19 r00c2de63 66 66 67 67 /** 68 * 69 * @param signo 68 * Default signal handler. Executes the default action for each signal, 69 * as reasonable within HelenOS. 70 * 71 * @param signo Signal number. 70 72 */ 71 73 void __posix_default_signal_handler(int signo) … … 75 77 abort(); 76 78 case SIGQUIT: 77 fprintf(stderr, "Quit signal raised. Exiting. ");79 fprintf(stderr, "Quit signal raised. Exiting.\n"); 78 80 exit(EXIT_FAILURE); 79 81 case SIGINT: 80 fprintf(stderr, "Interrupt signal caught. Exiting. ");82 fprintf(stderr, "Interrupt signal caught. Exiting.\n"); 81 83 exit(EXIT_FAILURE); 82 84 case SIGTERM: 83 fprintf(stderr, "Termination signal caught. Exiting. ");85 fprintf(stderr, "Termination signal caught. Exiting.\n"); 84 86 exit(EXIT_FAILURE); 85 87 case SIGSTOP: 86 fprintf(stderr, "Stop signal caught, but unsupported. Ignoring. ");88 fprintf(stderr, "Stop signal caught, but unsupported. Ignoring.\n"); 87 89 break; 88 90 case SIGKILL:
Note:
See TracChangeset
for help on using the changeset viewer.