Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 25 of 524) sorted by relevance

12345678910>>...21

/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Dsignals.c52 (void)signal (SIGHUP, SIG_IGN); in catch()
53 (void)signal (SIGINT, SIG_IGN); in catch()
54 (void)signal (SIGQUIT, SIG_IGN); in catch()
55 (void)signal (SIGTERM, SIG_IGN); in catch()
71 signal (SIG, catch); in trap_signals()
80 signal (SIGHUP, old_sighup); in trap_signals()
81 signal (SIGINT, old_sigint); in trap_signals()
82 signal (SIGQUIT, old_sigquit); in trap_signals()
83 signal (SIGTERM, old_sigterm); in trap_signals()
107 old_sighup = signal(SIGHUP, SIG_IGN); in ignore_signals()
[all …]
H A Ddo_align.c174 old_sighup = signal(SIGHUP, sigother);
175 old_sigint = signal(SIGINT, sigother);
176 old_sigquit = signal(SIGQUIT, sigother);
431 signal (SIGPIPE, sigpipe);
448 signal (SIGPIPE, SIG_DFL);
470 signal (SIGHUP, old_sighup);
471 signal (SIGINT, old_sigint);
472 signal (SIGQUIT, old_sigquit);
473 signal (SIGTERM, old_sigterm);
667 signal (SIGPIPE, SIG_IGN); in sigpipe()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgtrans/
H A Dmain.c97 func = signal(SIGINT, trap); in main()
99 (void) signal(SIGINT, func); in main()
100 (void) signal(SIGHUP, trap); in main()
101 (void) signal(SIGQUIT, trap); in main()
102 (void) signal(SIGTERM, trap); in main()
103 (void) signal(SIGPIPE, trap); in main()
104 (void) signal(SIGPWR, trap); in main()
121 (void) signal(SIGINT, SIG_IGN); in quit()
122 (void) signal(SIGHUP, SIG_IGN); in quit()
131 (void) signal(SIGINT, SIG_IGN); in trap()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinitscr.c96 if ((savsignal = signal(SIGTSTP, SIG_IGN)) == SIG_DFL) in initscr()
97 (void) signal(SIGTSTP, _tstp); in initscr()
99 (void) signal(SIGTSTP, savsignal); in initscr()
102 if ((savsignal = signal(SIGINT, SIG_IGN)) == SIG_DFL) in initscr()
103 (void) signal(SIGINT, _ccleanup); in initscr()
105 (void) signal(SIGINT, savsignal); in initscr()
108 if ((savsignal = signal(SIGQUIT, SIG_IGN)) == SIG_DFL) in initscr()
109 (void) signal(SIGQUIT, _ccleanup); in initscr()
111 (void) signal(SIGQUIT, savsignal); in initscr()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlpsched.c349 (void)signal (SIGALRM, ticktock); in ticktock()
419 if (signal(i, SIG_IGN) != SIG_IGN) in disable_signals()
420 signal (i, Exit); in disable_signals()
422 (void) signal(SIGHUP, SIG_IGN); in disable_signals()
423 (void) signal(SIGINT, SIG_IGN); in disable_signals()
424 (void) signal(SIGQUIT, SIG_IGN); in disable_signals()
427 (void) signal(SIGCLD, SIG_IGN); in disable_signals()
428 (void) signal(SIGTSTP, SIG_IGN); in disable_signals()
429 (void) signal(SIGCONT, SIG_DFL); in disable_signals()
430 (void) signal(SIGTTIN, SIG_IGN); in disable_signals()
[all …]
/illumos-gate/usr/src/cmd/csh/
H A DREADME5 signal.c and signal.h
14 (You can use sparc/{Makefile, signal.c, signal.h} as templates.
16 intel/signal.c
18 intel/signal.h
22 signal interface so csh will not have any machine dependent
25 usr/src/cmd/csh/SCCS/{s.signal.c, s.signal.h} are move under
27 of signal.c and signal.h, please refer to usr/src/cmd/csh/sparc/SCCS.
/illumos-gate/usr/src/cmd/mailx/
H A Dsigretro.c112 signal(sig, func); in sigsys()
148 signal(sig, SIG_DFL); in sigset()
150 signal(sig, _Sigtramp); in sigset()
157 signal(sig, SIG_IGN); in sigset()
161 signal(sig, _Sigtramp); in sigset()
188 signal(sig, _Sigtramp); in sighold()
218 signal(sig, SIG_DFL); in sigrelse()
264 signal(i, SIG_IGN); in sigchild()
290 signal(sig, old); in sigdisp()
345 signal(sig, SIG_DFL); in _Sigtramp()
[all …]
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.cat.c438 signal(SIGTERM, sigterm); in main()
439 signal(SIGHUP, sighup); in main()
440 signal(SIGINT, sigint); in main()
441 signal(SIGQUIT, sigint); in main()
442 signal(SIGPIPE, sigpipe); in main()
615 signal(SIGTERM, SIG_IGN); in sighup()
616 signal(SIGHUP, SIG_IGN); in sighup()
627 signal(SIGTERM, SIG_IGN); in sigint()
628 signal(SIGINT, SIG_IGN); in sigint()
639 signal(SIGTERM, SIG_IGN); in sigpipe()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpshut.c162 if(signal(SIGHUP, SIG_IGN) != SIG_IGN) in startup()
163 signal(SIGHUP, catch); in startup()
164 if(signal(SIGINT, SIG_IGN) != SIG_IGN) in startup()
165 signal(SIGINT, catch); in startup()
166 if(signal(SIGQUIT, SIG_IGN) != SIG_IGN) in startup()
167 signal(SIGQUIT, catch); in startup()
168 if(signal(SIGTERM, SIG_IGN) != SIG_IGN) in startup()
169 signal(SIGTERM, catch); in startup()
181 signal (sig, SIG_IGN);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmypopen.c62 tstat = signal(SIGTSTP, SIG_DFL); in mypopen()
97 istat = signal(SIGINT, SIG_IGN); in mypclose()
98 qstat = signal(SIGQUIT, SIG_IGN); in mypclose()
99 hstat = signal(SIGHUP, SIG_IGN); in mypclose()
104 (void) signal(SIGINT, istat); in mypclose()
105 (void) signal(SIGQUIT, qstat); in mypclose()
106 (void) signal(SIGHUP, hstat); in mypclose()
107 (void) signal(SIGTSTP, tstat); in mypclose()
H A Dexec.c116 oldsigtstp = signal(SIGTSTP, SIG_DFL); in myfork()
120 oldsigquit = signal(SIGQUIT, SIG_IGN); in myfork()
124 (void) signal(SIGINT, SIG_DFL); in myfork()
125 (void) signal(SIGQUIT, SIG_DFL); in myfork()
126 (void) signal(SIGHUP, SIG_DFL); /* restore hangup default */ in myfork()
150 (void) signal(SIGQUIT, oldsigquit); in join()
151 (void) signal(SIGTSTP, oldsigtstp); in join()
/illumos-gate/usr/src/cmd/bnu/
H A Duucico.c141 (void) signal(SIGILL, intrEXIT);
143 (void) signal(SIGIOT, intrEXIT);
144 (void) signal(SIGEMT, intrEXIT);
145 (void) signal(SIGFPE, intrEXIT);
146 (void) signal(SIGBUS, intrEXIT);
148 (void) signal(SIGSYS, intrEXIT);
151 (void) signal(SIGINT, onintr);
152 (void) signal(SIGHUP, onintr);
153 (void) signal(SIGQUIT, onintr);
154 (void) signal(SIGTERM, onintr);
[all …]
H A Dxqt.c75 (void) signal(SIGINT, SIG_IGN);
76 (void) signal(SIGHUP, SIG_IGN);
77 (void) signal(SIGQUIT, SIG_IGN);
114 (void) signal(SIGINT, SIG_IGN);
115 (void) signal(SIGHUP, SIG_IGN);
116 (void) signal(SIGQUIT, SIG_IGN);
H A Dct.c160 (void) signal (SIGTERM, cleanup);
318 (void) signal(SIGHUP, SIG_IGN);
401 (void) signal (SIGHUP, SIG_IGN);
403 (void) signal (SIGHUP, disconnect);
406 (void) signal (SIGQUIT, SIG_IGN);
408 (void) signal (SIGQUIT, disconnect);
411 (void) signal (SIGINT, SIG_IGN);
413 (void) signal (SIGINT, disconnect);
502 (void) signal (SIGINT, SIG_IGN); in disconnect()
544 (void) signal(SIGHUP, SIG_IGN);
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex.c235 oldhup = signal(SIGHUP, SIG_IGN); in main()
237 signal(SIGHUP, onhup); in main()
241 signal(SIGTERM, onhup); in main()
242 signal(SIGILL, oncore); in main()
243 signal(SIGTRAP, oncore); in main()
244 signal(SIGIOT, oncore); in main()
245 signal(SIGFPE, oncore); in main()
246 signal(SIGBUS, oncore); in main()
247 signal(SIGSEGV, oncore); in main()
248 signal(SIGPIPE, oncore); in main()
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dpipletr.c45 istat = signal(SIGINT, SIG_IGN); in dowait()
46 qstat = signal(SIGQUIT, SIG_IGN); in dowait()
51 signal(SIGINT, istat); in dowait()
52 signal(SIGQUIT, qstat); in dowait()
56 signal(SIGINT, istat); in dowait()
57 signal(SIGQUIT, qstat); in dowait()
H A Dcreatemf.c46 istat = signal(SIGINT, SIG_IGN);
47 qstat = signal(SIGQUIT, SIG_IGN);
48 hstat = signal(SIGHUP, SIG_IGN);
55 (void) signal(SIGINT, istat);
56 (void) signal(SIGQUIT, qstat);
57 (void) signal(SIGHUP, hstat);
H A Dcopyback.c50 istat = signal(SIGINT, SIG_IGN); in copyback()
51 qstat = signal(SIGQUIT, SIG_IGN); in copyback()
52 hstat = signal(SIGHUP, SIG_IGN); in copyback()
178 (void) signal(SIGINT, istat); in copyback()
179 (void) signal(SIGQUIT, qstat); in copyback()
180 (void) signal(SIGHUP, hstat); in copyback()
/illumos-gate/usr/src/cmd/tip/
H A Dcmds.c194 (void) signal(SIGINT, f); in transfer()
386 (void) signal(SIGINT, ointr); in transmit()
485 (void) signal(SIGINT, SIG_IGN); in pipeout()
486 (void) signal(SIGQUIT, SIG_IGN); in pipeout()
506 (void) signal(SIGINT, SIG_DFL); in pipeout()
516 (void) signal(SIGINT, SIG_DFL); in pipeout()
553 (void) signal(SIGINT, ointr); in consh()
554 (void) signal(SIGQUIT, oquit); in consh()
594 (void) signal(SIGINT, ointr); in shell()
595 (void) signal(SIGQUIT, oquit); in shell()
[all …]
H A Dtipout.c100 (void) signal(SIGINT, SIG_IGN); in tipout()
101 (void) signal(SIGQUIT, SIG_IGN); in tipout()
103 (void) signal(SIGEMT, (sig_handler_t)intEMT); in tipout()
105 (void) signal(SIGTERM, (sig_handler_t)intTERM); in tipout()
107 (void) signal(SIGIOT, (sig_handler_t)intIOT); in tipout()
109 (void) signal(SIGHUP, (sig_handler_t)intTERM); in tipout()
111 (void) signal(SIGSYS, (sig_handler_t)intSYS); in tipout()
/illumos-gate/usr/src/lib/libcrypt/common/
H A Dcryptio.c107 pstat = signal(SIGPIPE, SIG_IGN); /* don't want pipe errors to cause */ in writekey()
111 (void) signal(SIGPIPE, pstat); in writekey()
114 (void) signal(SIGPIPE, pstat); in writekey()
128 pstat = signal(SIGPIPE, SIG_IGN); in run_crypt()
132 (void) signal(SIGPIPE, pstat); in run_crypt()
138 (void) signal(SIGPIPE, pstat); in run_crypt()
144 (void) signal(SIGPIPE, pstat); in run_crypt()
148 (void) signal(SIGPIPE, pstat); in run_crypt()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlwlan_impl.h46 #define DLADM_WLAN_SIGNAL2STRENGTH(signal) \ argument
47 (((signal) > 12 ? DLADM_WLAN_STRENGTH_EXCELLENT : \
48 ((signal) > 9 ? DLADM_WLAN_STRENGTH_VERY_GOOD : \
49 ((signal) > 5 ? DLADM_WLAN_STRENGTH_GOOD : \
50 ((signal) > 2 ? DLADM_WLAN_STRENGTH_WEAK : \
/illumos-gate/usr/src/lib/libmail/common/
H A Dpopenvp.c110 istat = signal(SIGINT, SIG_IGN); in pclosevp()
111 qstat = signal(SIGQUIT, SIG_IGN); in pclosevp()
112 hstat = signal(SIGHUP, SIG_IGN); in pclosevp()
119 (void) signal(SIGINT, istat); in pclosevp()
120 (void) signal(SIGQUIT, qstat); in pclosevp()
121 (void) signal(SIGHUP, hstat); in pclosevp()
/illumos-gate/usr/src/lib/libgen/common/
H A Dp2open.c145 istat = signal(SIGINT, SIG_IGN); in __p2close()
146 qstat = signal(SIGQUIT, SIG_IGN); in __p2close()
147 hstat = signal(SIGHUP, SIG_IGN); in __p2close()
152 (void) signal(SIGINT, istat); in __p2close()
153 (void) signal(SIGQUIT, qstat); in __p2close()
154 (void) signal(SIGHUP, hstat); in __p2close()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dsignal.c31 #undef signal
32 #define signal ______signal macro
41 #undef signal
75 signal(int sig, Sig_handler_t fun) in signal() function
134 NoN(signal)

12345678910>>...21