sig_t
sig_t sigact = SIG_DFL;
getsigaction(int signo, sig_t *sigact)
*sigact = (sig_t) sa.sa_handler;
static int getsigaction(int, sig_t *);
static sig_t oldsig;
sig_t prevsig = signal(SIGINT, intruph);
sig_t sighup, sigint;
sig_t
signal(int s, sig_t a)
sig_t oldsig = NULL; /* old alarm handler */
sig_t old_alarm;
sig_t interrupt_save;
static void handle(sig_t, ...);
handle(sig_t handler, ...)
set_signal(int signum, sig_t sig_func)
ktrpsig(struct lwp *lp, int sig, sig_t action, sigset_t *mask, int code)
sig_t action;
sig_t action = ps->ps_sigact[_SIG_IDX(sig)];
sig_t action;
sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
sig_t action;
void ktrpsig(struct lwp *, int, sig_t, sigset_t *, int);
void sendsig (sig_t action, int sig, sigset_t *retmask, u_long code);
sig_t ps_sigact[_SIG_MAXSIG]; /* disposition of signals */
sig_t intsave, quitsave;
sig_t oldint;
sig_t sigint = signal(SIGINT, SIG_IGN);
sig_t sigint = signal(SIGINT, SIG_IGN);
sig_t sigint = signal(SIGINT, SIG_IGN);
static sig_t saveint; /* Previous SIGINT value */
sig_t sigint = signal(SIGINT, SIG_IGN);
static sig_t savehup; /* Previous SIGHUP value */
static sig_t savetstp; /* Previous SIGTSTP value */
static sig_t savettou; /* Previous SIGTTOU value */
static sig_t savettin; /* Previous SIGTTIN value */
sig_t old_action = signal(s, SIG_DFL);
sig_t sigint;
sig_t old_action = signal(s, SIG_DFL);
sig_t prevint;
sig_t old_action = signal(s, SIG_DFL);
sig_t saveint;
sig_t savetstp;
sig_t savettou;
sig_t savettin;
static sig_t hupval, intval;
sig_t sighup, sigint, sigquit, sigchld;
sig_t sigtstpdfl;
sig_t oldsig;
sig_t f;
sig_t f;
sig_t f;
sig_t f;
sig_t oint, oquit;
sig_t f;
sig_t f;
sig_t f;
sig_t oldsig;
# define SIG_T sig_t
sigalarm.sa_handler = (sig_t) sigalarm_handler;