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