Lines Matching refs:sig
52 signal_handler(int sig)56 if (write(signal_pipe[1], &sig, sizeof(sig)) != sizeof(sig))57 syslog(LOG_ERR, "failed to write signal %d: %m", sig);68 int sig = -1;74 if (bytes >= 0 && (size_t)bytes >= sizeof(sig))75 memcpy(&sig, buf, sizeof(sig));76 return sig;