Home
last modified time | relevance | path

Searched refs:signo (Results 1 – 25 of 71) sorted by relevance

123

/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dexit.c73 int signo; member
104 for (sigs = signals; sigs->signo; sigs++) { in handler()
106 (void) sigaction(sigs->signo, &nact, NULL); in handler()
165 for (sigs = signals; sigs->signo; sigs++) { in ld_init_sighandler()
166 if ((sigaction(sigs->signo, NULL, &oact) == 0) && in ld_init_sighandler()
171 (void) sigaction(sigs->signo, &nact, NULL); in ld_init_sighandler()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtstp.c73 _ccleanup(int signo) in _ccleanup() argument
75 (void) signal(signo, SIG_IGN); in _ccleanup()
86 fprintf(stderr, "signal %d caught. quitting.\n", signo); in _ccleanup()
88 if (signo == SIGQUIT) in _ccleanup()
/illumos-gate/usr/src/cmd/valtools/
H A Dckyorn.c48 static int signo; variable
166 signo = atoi(optarg); in main()
174 if (signo) { in main()
178 signo = SIGTERM; in main()
218 if (kill(kpid, signo)) { in main()
221 signo, kpid); in main()
H A Dckkeywd.c48 static int signo; variable
135 signo = atoi(optarg); in main()
143 if (signo) { in main()
147 signo = SIGTERM; in main()
179 (void) kill(kpid, signo); in main()
H A Dckint.c47 static int signo; variable
176 signo = atoi(optarg); in main()
184 if (signo) { in main()
188 signo = SIGTERM; in main()
212 (void) kill(kpid, signo); in main()
H A Dckuid.c48 static int signo; variable
179 signo = atoi(optarg); in main()
187 if (signo) { in main()
191 signo = SIGTERM; in main()
230 (void) kill(kpid, signo); in main()
H A Dckgid.c48 static int signo, disp; variable
175 signo = atoi(optarg); in main()
183 if (signo) { in main()
187 signo = SIGTERM; in main()
227 (void) kill(kpid, signo); in main()
H A Dckdate.c47 static int signo = 0; variable
183 signo = atoi(optarg); in main()
191 if (signo) { in main()
195 signo = SIGTERM; in main()
243 (void) kill(kpid, signo); in main()
H A Dcktime.c48 static int signo; variable
187 signo = atoi(optarg); in main()
195 if (signo) { in main()
199 signo = SIGTERM; in main()
250 (void) kill(kpid, signo); in main()
H A Dckrange.c48 static int signo; variable
193 signo = atoi(optarg); in main()
201 if (signo) { in main()
205 signo = SIGTERM; in main()
258 (void) kill(kpid, signo); in main()
H A Dckpath.c49 static int signo, pflags; variable
247 signo = atoi(optarg); in main()
255 if (signo) { in main()
259 signo = SIGTERM; in main()
305 (void) kill(kpid, signo); in main()
H A Dckstr.c49 static int signo, length; variable
209 signo = atoi(optarg); in main()
217 if (signo) { in main()
221 signo = SIGTERM; in main()
266 (void) kill(kpid, signo); in main()
H A Dckitem.c54 static int signo; variable
248 signo = atoi(optarg); in main()
256 if (signo) { in main()
260 signo = SIGTERM; in main()
361 (void) kill(kpid, signo); in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dwalkstack.c197 int signo = 0; in walkcontext() local
284 sig = signo; /* already read - see below */ in walkcontext()
307 signo = fp->fr_arg[0]; in walkcontext()
347 display_stack_info(uintptr_t pc, int signo, void *arg) in display_stack_info() argument
358 if (signo) { in display_stack_info()
362 (void) sig2str(signo, sigbuf); in display_stack_info()
365 buffer, (ulong_t)signo, sigbuf); in display_stack_info()
399 callback(uintptr_t pc, int signo, void *arg) in callback() argument
/illumos-gate/usr/src/cmd/svr4pkg/pkgtrans/
H A Dmain.c55 static void trap(int signo);
129 trap(int signo) in trap() argument
134 if (signo == SIGINT) { in trap()
138 progerr(gettext("aborted by signal %d\n"), signo); in trap()
/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c67 void quit_daemon(int signo);
84 quit_daemon(int signo) in quit_daemon() argument
90 getpid(), signo); in quit_daemon()
99 if (signo < 0) { in quit_daemon()
100 status = signo; in quit_daemon()
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dquit.c68 static void trap(int signo);
302 trap(int signo) in trap() argument
310 if ((signo == SIGINT) || (signo == SIGHUP)) { in trap()
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dquit.c75 static void trap(int signo);
336 trap(int signo) in trap() argument
344 if ((signo == SIGINT) || (signo == SIGHUP)) { in trap()
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Dquit.c93 static void trap(int signo);
307 trap(int signo) in trap() argument
315 if ((signo == SIGINT) || (signo == SIGHUP)) { in trap()
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dgetvol.c51 int signo = SIGKILL; variable
131 signo = atol(optarg); in main()
159 (void) kill(kpid, signo); in main()
/illumos-gate/usr/src/cmd/acpihpd/
H A Dacpihpd.c214 daemon_quit(int signo) in daemon_quit() argument
219 debug_print(1, "daemon quit [signal#:%d].", signo); in daemon_quit()
228 if (signo < 0) { in daemon_quit()
229 status = signo; in daemon_quit()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dposix_sigwait.c40 __posix_sigwait(const sigset_t *setp, int *signo) in __posix_sigwait() argument
46 if ((*signo = sigwait((sigset_t *)setp)) == -1) { in __posix_sigwait()
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dquit.c83 static void trap(int signo);
475 trap(int signo) in trap() argument
483 if ((signo == SIGINT) || (signo == SIGHUP)) { in trap()
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dtestlib.c28 timed_out(int signo) in timed_out() argument
30 ASSERT_INT_EQ(("timeout signal"), signo, SIGALRM); in timed_out()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c217 SIGTYPE sigalrm __P((int signo));
218 SIGTYPE sigint __P((int signo));
220 SIGTYPE sighup __P((int signo));
529 SIGTYPE sigalrm(signo) in sigalrm() argument
530 int signo; in sigalrm()
559 SIGTYPE sigint(signo) in sigint() argument
560 int signo; in sigint()
565 SIGTYPE sigterm(signo) in sigterm() argument
566 int signo; in sigterm()
571 SIGTYPE sighup(signo) in sighup() argument
[all …]

123