Lines Matching defs:sig
22 const int sig = SIGALRM;
24 void handler(int sig)
35 int result = sigaction(sig, &act, &old_act);
44 result = raise(sig);
58 result = sigaddset(set, sig);
73 * @tc.desc : modifies the disposition of the signal sig with a handler
90 sigset(sig, handler);
100 result = sigismember(&set, sig);
108 * @tc.desc : modifies the disposition of the signal sig with SIG_IGN
125 sigset(sig, SIG_IGN);
135 result = sigismember(&set, sig);
143 * @tc.desc : modifies the disposition of the signal sig with SIG_DFL
160 sigset(sig, SIG_DFL);
170 result = sigismember(&set, sig);
178 * @tc.desc : modifies the disposition of the signal sig with SIG_HOLD
195 sigset(sig, SIG_HOLD);
205 result = sigismember(&set, sig);
213 * @tc.desc : modifies the disposition of the invalid signal sig
219 int sig = 99999;
221 sigset(sig, SIG_DFL);