# | Line 213 | Line 213 | init(int np) /* start rtrace and set up buffers */ | |
---|---|---|
213 | ofun[OBJ_SPHERE].funp = o_sphere; | |
214 | ofun[OBJ_RING].funp = o_ring; | |
215 | /* set up signal handling */ | |
216 | < | #ifdef SIGPIPE /* not present on Windows */ |
216 | > | signal(SIGINT, quit); |
217 | > | #ifdef SIGHUP |
218 | > | signal(SIGHUP, quit); |
219 | > | #endif |
220 | > | #ifdef SIGTERM |
221 | > | signal(SIGTERM, quit); |
222 | > | #endif |
223 | > | #ifdef SIGPIPE |
224 | signal(SIGPIPE, quit); | |
225 | #endif | |
226 | rtp = &rt0; /* start rtrace process(es) */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |