Searched refs:sig (Results 1 - 15 of 15) sorted by relevance

/sendmail/include/sm/
H A Dsignal.h48 #define CHECK_CRITICAL(sig) \
51 if (InCriticalSection > 0 && (sig) != 0) \
53 pend_signal((sig)); \
67 # define FIX_SYSV_SIGNAL(sig, handler) \
69 if ((sig) != 0) \
70 (void) sm_signal((sig), (handler)); \
73 # define FIX_SYSV_SIGNAL(sig, handler) { /* EMPTY */ }
/sendmail/libsm/
H A Dsignal.c39 sm_signal(sig, handler)
40 int sig;
61 if (sigaction(sig, &n, &o) < 0)
73 return signal(sig, handler);
75 return sigset(sig, handler);
86 if (sigaction(sig, &n, &o) < 0)
96 ** sig -- the signal to block.
105 sm_blocksignal(sig)
106 int sig;
112 return (sigblock(sigmask(sig))
[all...]
H A Dfpos.c36 ** sig -- unused
51 tellalrm(sig)
52 int sig;
H A Dfopen.c39 ** sig -- unused
54 openalrm(sig)
55 int sig;
65 ** sig -- unused
80 reopenalrm(sig)
81 int sig;
H A Dfclose.c38 ** sig -- unused
53 closealrm(sig)
54 int sig;
H A Dclock.c319 sm_tick(sig)
320 int sig;
344 FIX_SYSV_SIGNAL(sig, sm_tick);
346 CHECK_CRITICAL(sig);
352 int sig = 0; local
357 sig = SIGHUP;
362 sig = SIGINT;
367 sig = SIGTERM;
372 sig = SIGUSR1;
380 kill(mypid, sig);
[all...]
H A Dfseek.c41 ** sig -- unused
56 seekalrm(sig)
57 int sig;
H A Dt-sem.c114 ** sig -- signal.
122 sem_cleanup(sig)
123 int sig;
H A Dvfscanf.c73 ** sig -- unused
88 scanalrm(sig)
89 int sig;
/sendmail/libmilter/
H A Dsignal.c93 int sig, errs, sigerr; local
106 sigerr = sig = 0;
108 if ((sig = sigwait(&set)) < 0)
110 if ((sigerr = sigwait(&set, &sig)) != 0)
132 switch (sig)
144 (char *)name, sig);
/sendmail/sendmail/
H A Dmain.c3073 ** sig -- incoming signal.
3098 intindebug(sig)
3099 int sig;
3103 FIX_SYSV_SIGNAL(sig, intindebug);
3105 CHECK_CRITICAL(sig);
3115 ** sig -- signal number.
3131 sigterm(sig)
3132 int sig;
3136 FIX_SYSV_SIGNAL(sig, sigterm);
3145 ** sig
[all...]
H A Dqueue.c1042 ** being the sig) then the old signal handler (Oldsh) is called
1050 ** sig -- the signal number being sent
1074 runners_sigterm(sig)
1075 int sig;
1079 FIX_SYSV_SIGNAL(sig, runners_sigterm);
1081 CHECK_CRITICAL(sig);
1084 Oldsig = sig;
1085 proc_list_signal(PROC_QUEUE, sig);
1092 (*Oldsh_term)(sig);
1103 ** being the sig) the
[all...]
H A Ddaemon.c3094 #define SM_NOOP_SIGNAL(sig, old) \
3097 (old) = sm_signal((sig), sm_signal_noop); \
3099 (void) sm_signal((sig), (old)); \
H A Dconf.c2721 ** sig -- the signal that got us here (unused).
2737 reapchild(sig)
2738 int sig;
2778 FIX_SYSV_SIGNAL(sig, reapchild);
H A Ddeliver.c3277 syserr("554 5.3.5 deliver: mci=%lx rcode=%d errno=%d state=%d sig=%s",
5933 ** sig -- the host signature.
5945 parse_hostsignature(sig, mxhosts, mailer)
5946 char *sig;
5956 for (hp = sig; hp != NULL; hp = endp)

Completed in 75 milliseconds