* The following is for systems with botched signal() system entries
* which don't return the proper value for the previous signal.
static char *SccsId
= "@(#)Signal.c 2.1 %G%";
/* printf("Signal(%d, %.1o)\n", sig, spot); */
oldsigs
[sig
] = (int) spot
;
for (i
= 1; i
< 17; i
++) {
oldsigs
[i
] = (int) signal(i
, SIG_IGN
);
signal(i
, (int (*)()) oldsigs
[i
]);