Home
last modified time | relevance | path

Searched refs:SIGALRM (Results 1 – 25 of 174) sorted by relevance

1234567

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dtimers.c97 kill(getpid(),SIGALRM|SH_TRAP); in sigalrm()
106 sigrelease(SIGALRM); in sigalrm()
147 signal(SIGALRM,sigalrm); in sigalrm()
169 signal(SIGALRM,(sh.sigflag[SIGALRM]&SH_SIGFAULT)?sh_fault:SIG_DFL); in sigalrm()
178 (*fn)(SIGALRM); in oldalrm()
203 fn = (Handler_t)signal(SIGALRM,sigalrm); in sh_timeradd()
221 sigalrm(SIGALRM); in sh_timeradd()
245 signal(SIGALRM,(sh.sigflag[SIGALRM]&SH_SIGFAULT)?sh_fault:SIG_DFL); in timerdel()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c341 (void) sighold(SIGALRM); in check_reply()
380 (void) sigrelse(SIGALRM); in check_reply()
395 (void) sigset(SIGALRM, SIG_IGN); in check_reply()
398 (void) sigrelse(SIGALRM); in check_reply()
420 (void) sigset(SIGALRM, sigalrm_handler); in check_reply()
432 (void) sigrelse(SIGALRM); in check_reply()
487 (void) sigrelse(SIGALRM); in check_reply()
535 (void) sighold(SIGALRM); in check_reply()
575 (void) sigrelse(SIGALRM); in check_reply()
589 (void) sigset(SIGALRM, SIG_IGN); in check_reply()
[all …]
H A Dping_aux6.c373 (void) sighold(SIGALRM); in check_reply6()
412 (void) sigrelse(SIGALRM); in check_reply6()
426 (void) sigset(SIGALRM, SIG_IGN); in check_reply6()
429 (void) sigrelse(SIGALRM); in check_reply6()
451 (void) sigset(SIGALRM, sigalrm_handler); in check_reply6()
463 (void) sigrelse(SIGALRM); in check_reply6()
523 (void) sigrelse(SIGALRM); in check_reply6()
663 (void) sighold(SIGALRM); in check_reply6()
703 (void) sigrelse(SIGALRM); in check_reply6()
717 (void) sigset(SIGALRM, SIG_IGN); in check_reply6()
[all …]
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dbiz22.c129 f = signal(SIGALRM, (sig_handler_t)sigALRM); in cmd()
132 (void) signal(SIGALRM, f); in cmd()
138 (void) signal(SIGALRM, f); in cmd()
149 f = signal(SIGALRM, (sig_handler_t)sigALRM); in detect()
163 (void) signal(SIGALRM, f); in detect()
H A Dhayes.c31 f = signal(SIGALRM, (sig_handler_t)sigALRM); in hayes_dialer()
38 (void) signal(SIGALRM, f); in hayes_dialer()
58 (void) signal(SIGALRM, f); in hayes_dialer()
74 (void) signal(SIGALRM, f); in hayes_dialer()
H A Dbiz31.c151 f = signal(SIGALRM, (sig_handler_t)sigALRM); in detect()
165 (void) signal(SIGALRM, f); in detect()
175 f = signal(SIGALRM, (sig_handler_t)sigALRM); in flush()
183 (void) signal(SIGALRM, f); in flush()
H A Ddn11.c43 (void) signal(SIGALRM, (sig_handler_t)alarmtr); in dn_dialer()
50 (void) signal(SIGALRM, SIG_IGN); in dn_dialer()
74 (void) signal(SIGALRM, SIG_DFL); in dn_dialer()
H A Dventel.c142 f = signal(SIGALRM, (sig_handler_t)sigALRM); in gobble()
146 (void) signal(SIGALRM, f); in gobble()
158 (void) signal(SIGALRM, SIG_DFL); in gobble()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dclock.c106 wasblocked = sm_blocksignal(SIGALRM);
144 (void) sm_releasesignal(SIGALRM);
164 (void) sm_signal(SIGALRM, sm_tick);
179 (void) sm_releasesignal(SIGALRM);
209 wasblocked = sm_blocksignal(SIGALRM);
230 (void) sm_releasesignal(SIGALRM);
232 (void) kill(getpid(), SIGALRM);
280 wasblocked = sm_blocksignal(SIGALRM); in sm_clear_events()
294 (void) sm_releasesignal(SIGALRM); in sm_clear_events()
574 was_held = sm_releasesignal(SIGALRM);
[all …]
H A Dsignal.c223 case SIGALRM:
240 (void) sm_signal(SIGALRM, sm_tick);
274 mask |= sigmask(SIGALRM);
289 (void) sigset(SIGALRM, SIG_HOLD);
298 (void) sigset(SIGALRM, SIG_DFL);
309 (void) sigaddset(&sset, SIGALRM);
/illumos-gate/usr/src/cmd/tip/
H A Dhunt.c32 f = signal(SIGALRM, (sig_handler_t)dead); in hunt()
74 (void) signal(SIGALRM, f); in hunt()
79 (void) signal(SIGALRM, f); in hunt()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dwaitpid.c145 #if defined(SIGALRM)
146 handler = signal(SIGALRM, catch);
158 #if defined(SIGALRM)
163 signal(SIGALRM, handler);
/illumos-gate/usr/src/test/os-tests/tests/signalfd/
H A Dbasic_read.c55 .sigev_signo = SIGALRM, in main()
73 if (info[0].ssi_signo != SIGALRM) { in main()
74 test_fail("bad ssi_signo %d != %d", info[0].ssi_signo, SIGALRM); in main()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dsleep.c53 if(!(shp->sigflag[SIGALRM]&(SH_SIGFAULT|SH_SIGOFF))) in b_sleep()
54 sh_sigtrap(SIGALRM); in b_sleep()
124 if(shp->sigflag[SIGALRM]&SH_SIGTRAP) in b_sleep()
148 if(shp->sigflag[SIGALRM]&SH_SIGTRAP) in sleep()
/illumos-gate/usr/src/test/util-tests/tests/sleep/
H A Dsleep.d31 raise(SIGALRM);
38 raise(SIGALRM);
/illumos-gate/usr/src/cmd/bnu/
H A Ddkdial.c99 SigWas = signal(SIGALRM, timout);
186 (void) signal(SIGALRM, timout); in setalarm()
201 (void) signal(SIGALRM, SigWas);
H A Dgio.c53 signal(SIGALRM, galarm);
69 gsig=signal(SIGALRM, galarm); in gturnon()
84 (void) signal(SIGALRM, gsig); in gturnoff()
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyplckpwdf.c68 (void) sigset(SIGALRM, almhdlr); in yplckpwdf()
72 (void) sigset(SIGALRM, SIG_DFL); in yplckpwdf()
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dtestlib.c30 ASSERT_INT_EQ(("timeout signal"), signo, SIGALRM); in timed_out()
50 signal(SIGALRM, timed_out); in start_test()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dmain.c211 (void) sigset(SIGALRM, (void (*)(int))timer); in main()
249 (void) sighold(SIGALRM); in main()
267 (void) sigrelse(SIGALRM); in main()
289 (void) sigrelse(SIGALRM); in main()
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dnet.c148 (void) signal(SIGALRM, null_sighandler); in xfer_file()
218 (void) signal(SIGALRM, null_sighandler); in xfer_cfAfile()
271 (void) signal(SIGALRM, null_sighandler); in netpr_response()
334 (void) signal(SIGALRM, null_sighandler); in netpr_send_message()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dmsgs.c74 signal(SIGALRM, (void (*)())disp_msg); in start_msgs()
82 signal(SIGALRM, SIG_IGN); in end_msgs()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpoptr.c108 alarmcatch(SIGALRM); in query_once()
153 alarmcatch(SIGALRM); in query_once()
166 (void) sigvec(SIGALRM, &sv, (struct sigvec *)0); in query_once()
196 (void) sigvec(SIGALRM, &sv, (struct sigvec *)0); in alarmcatch()
219 alarmcatch(SIGALRM); in interrupt()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dlockinst.c151 (void) signal(SIGALRM, do_alarm); in do_alarm()
199 (void) signal(SIGALRM, do_alarm); in lockinst()
239 (void) signal(SIGALRM, SIG_IGN); in lockinst()
/illumos-gate/usr/src/cmd/sh/
H A Dfault.c227 case SIGALRM: in fault()
442 sigaddset(&set, SIGALRM); in sh_sleep()
452 sigaction(SIGALRM, &act, &oact); in sh_sleep()
468 sigaction(SIGALRM, &oact, NULL); in sh_sleep()

1234567