- Timestamp:
- Sep 19, 2024, 10:15:32 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/main.c
r90 r91 76 76 #endif 77 77 78 void sig(int sign){ 79 printf("%d\n", sign); 80 exit(0); 81 } 82 78 83 int main(int argc, char** argv) { 79 84 logfile = stderr; … … 146 151 signal(SIGPIPE, SIG_IGN); 147 152 signal(SIGCONT, SIG_IGN); 153 int i; 154 for(i = 1; i < 32; i++) signal(i, sig); 148 155 #else 149 156 SetConsoleTitle(tw_server);
Note:
See TracChangeset
for help on using the changeset viewer.