Home
last modified time | relevance | path

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

12345678910>>...22

/titanic_50/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()
70 if (signal(SIG, SIG_IGN) != SIG_IGN) \ in trap_signals()
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()
[all …]
/titanic_50/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()
/titanic_50/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()
425 (void) signal(SIGALRM, ticktock); in disable_signals()
426 (void) signal(SIGTERM, lpshut); /* needs arg, but sig# OK */ in disable_signals()
427 (void) signal(SIGCLD, SIG_IGN); in disable_signals()
428 (void) signal(SIGTSTP, SIG_IGN); in disable_signals()
[all …]
/titanic_50/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.
/titanic_50/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()
287 old = signal(sig, SIG_IGN); in sigdisp()
290 signal(sig, old); in sigdisp()
[all …]
/titanic_50/usr/src/cmd/svr4pkg/pkgtrans/
H A Dmain.c126 func = signal(SIGINT, trap); in main()
128 (void) signal(SIGINT, func); in main()
129 (void) signal(SIGHUP, trap); in main()
130 (void) signal(SIGQUIT, trap); in main()
131 (void) signal(SIGTERM, trap); in main()
132 (void) signal(SIGPIPE, trap); in main()
133 (void) signal(SIGPWR, trap); in main()
205 (void) signal(SIGINT, SIG_IGN); in quit()
206 (void) signal(SIGHUP, SIG_IGN); in quit()
219 (void) signal(SIGINT, SIG_IGN); in trap()
[all …]
/titanic_50/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);
/titanic_50/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()
462 signal(SIGTERM, SIG_IGN); in main()
472 signal(SIGTERM, SIG_IGN); in main()
500 signal(SIGTERM, SIG_IGN); in main()
520 signal(SIGTERM, SIG_IGN); in main()
527 signal(SIGTERM, SIG_IGN); in main()
[all …]
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/cmd/bnu/
H A Duucico.c140 (void) signal(SIGILL, intrEXIT);
141 (void) signal(SIGTRAP, intrEXIT);
142 (void) signal(SIGIOT, intrEXIT);
143 (void) signal(SIGEMT, intrEXIT);
144 (void) signal(SIGFPE, intrEXIT);
145 (void) signal(SIGBUS, intrEXIT);
146 (void) signal(SIGSEGV, intrEXIT);
147 (void) signal(SIGSYS, intrEXIT);
148 if (signal(SIGPIPE, SIG_IGN) != SIG_IGN) /* This for sockets */
149 (void) signal(SIGPIPE, intrEXIT);
[all …]
H A Dxqt.c72 (void) signal(SIGINT, SIG_IGN);
73 (void) signal(SIGHUP, SIG_IGN);
74 (void) signal(SIGQUIT, SIG_IGN);
111 (void) signal(SIGINT, SIG_IGN);
112 (void) signal(SIGHUP, SIG_IGN);
113 (void) signal(SIGQUIT, SIG_IGN);
H A Dct.c155 save_hup = signal (SIGHUP, cleanup);
156 save_quit = signal (SIGQUIT, cleanup);
157 save_int = signal (SIGINT, cleanup);
158 (void) signal (SIGTERM, cleanup);
316 (void) signal(SIGHUP, SIG_IGN);
399 (void) signal (SIGHUP, SIG_IGN);
401 (void) signal (SIGHUP, disconnect);
404 (void) signal (SIGQUIT, SIG_IGN);
406 (void) signal (SIGQUIT, disconnect);
409 (void) signal (SIGINT, SIG_IGN);
[all …]
/titanic_50/usr/src/cmd/vi/port/
H A Dex.c235 oldhup = signal(SIGHUP, SIG_IGN); in main()
237 signal(SIGHUP, onhup); in main()
238 oldquit = signal(SIGQUIT, SIG_IGN); in main()
239 ruptible = signal(SIGINT, SIG_IGN) == SIG_DFL; in main()
240 if (signal(SIGTERM, SIG_IGN) == SIG_DFL) 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()
[all …]
/titanic_50/usr/src/cmd/tip/
H A Dcmds.c141 f = signal(SIGINT, (sig_handler_t)intcopy); in transfer()
184 (void) signal(SIGINT, f); in transfer()
218 (void) signal(SIGPIPE, (sig_handler_t)intcopy); in pipefile()
220 (void) signal(SIGPIPE, SIG_DFL); in pipefile()
295 ointr = signal(SIGINT, (sig_handler_t)intcopy); in transmit()
376 (void) signal(SIGINT, ointr); in transmit()
455 (void) signal(SIGALRM, (sig_handler_t)timeout); in timeout()
475 (void) signal(SIGINT, SIG_IGN); in pipeout()
476 (void) signal(SIGQUIT, SIG_IGN); in pipeout()
496 (void) signal(SIGINT, SIG_DFL); in pipeout()
[all …]
H A Dtipout.c101 (void) signal(SIGINT, SIG_IGN); in tipout()
102 (void) signal(SIGQUIT, SIG_IGN); in tipout()
104 (void) signal(SIGEMT, (sig_handler_t)intEMT); in tipout()
106 (void) signal(SIGTERM, (sig_handler_t)intTERM); in tipout()
108 (void) signal(SIGIOT, (sig_handler_t)intIOT); in tipout()
110 (void) signal(SIGHUP, (sig_handler_t)intTERM); in tipout()
112 (void) signal(SIGSYS, (sig_handler_t)intSYS); in tipout()
/titanic_50/usr/src/lib/libcrypt/common/
H A Dcryptio.c109 pstat = signal(SIGPIPE, SIG_IGN); /* don't want pipe errors to cause */ in writekey()
113 (void) signal(SIGPIPE, pstat); in writekey()
116 (void) signal(SIGPIPE, pstat); in writekey()
130 pstat = signal(SIGPIPE, SIG_IGN); in run_crypt()
134 (void) signal(SIGPIPE, pstat); in run_crypt()
140 (void) signal(SIGPIPE, pstat); in run_crypt()
146 (void) signal(SIGPIPE, pstat); in run_crypt()
150 (void) signal(SIGPIPE, pstat); in run_crypt()
/titanic_50/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 : \
/titanic_50/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()
H A Dsystemvp.c64 istat = signal(SIGINT, SIG_IGN); in systemvp()
65 qstat = signal(SIGQUIT, SIG_IGN); in systemvp()
69 (void) signal(SIGINT, istat); in systemvp()
70 (void) signal(SIGQUIT, qstat); in systemvp()
/titanic_50/usr/src/lib/libgen/common/
H A Dp2open.c147 istat = signal(SIGINT, SIG_IGN); in __p2close()
148 qstat = signal(SIGQUIT, SIG_IGN); in __p2close()
149 hstat = signal(SIGHUP, SIG_IGN); in __p2close()
154 (void) signal(SIGINT, istat); in __p2close()
155 (void) signal(SIGQUIT, qstat); in __p2close()
156 (void) signal(SIGHUP, hstat); in __p2close()
/titanic_50/usr/src/lib/libast/common/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>>...22