gotsig
pending = !vforked && gotsig[signo]; /* this signal has been rcvd */
gotsig[signo] = 0; /* and don't consider it again */
signo, gotsig[signo]));
gotsig[signo] = 1;
gotsig[SIGINT], pendingsigs));
signo, gotsig[signo], pendingsigs,
if (gotsig[i])
gotsig[i] = 0;
if (gotsig[i])
static volatile sig_atomic_t gotsig[NSIG];/* indicates specified signal received */
if (gotsig) {
(void) fprintf(stderr, "Got signal %d.\n", (int)gotsig);
gotsig = 0;
volatile sig_atomic_t gotsig = 0;
gotsig = i;
volatile sig_atomic_t gotsig;
if (gotsig) {
(void)fprintf(stderr, "Got signal %d.\n", (int)gotsig);
gotsig = 0;
gotsig = i;
int gotsig;
int gotsig;
signal(SIGIO, gotsig);