static void sig_handler(int n)
{
+ int hunoz;
int e = errno;
unsigned char sch = (unsigned char)n;
sigprocmask(SIG_BLOCK, &ss_all, 0);
sigaddset(&ss_caught, n);
- write(sigfd, &sch, 1);
+ hunoz = write(sigfd, &sch, 1);
/* The system should reset the signal mask here. */
errno = e;
}