/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | exit.c | 73 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/cmd/valtools/ |
H A D | ckyorn.c | 45 static int signo; variable 163 signo = atoi(optarg); in main() 171 if (signo) { in main() 175 signo = SIGTERM; in main() 215 if (kill(kpid, signo)) { in main() 218 signo, kpid); in main()
|
H A D | ckkeywd.c | 45 static int signo; variable 132 signo = atoi(optarg); in main() 140 if (signo) { in main() 144 signo = SIGTERM; in main() 176 (void) kill(kpid, signo); in main()
|
H A D | ckint.c | 44 static int signo; variable 173 signo = atoi(optarg); in main() 181 if (signo) { in main() 185 signo = SIGTERM; in main() 209 (void) kill(kpid, signo); in main()
|
H A D | ckgid.c | 45 static int signo, disp; variable 172 signo = atoi(optarg); in main() 180 if (signo) { in main() 184 signo = SIGTERM; in main() 224 (void) kill(kpid, signo); in main()
|
H A D | ckuid.c | 45 static int signo; variable 176 signo = atoi(optarg); in main() 184 if (signo) { in main() 188 signo = SIGTERM; in main() 227 (void) kill(kpid, signo); in main()
|
H A D | ckdate.c | 44 static int signo = 0; variable 180 signo = atoi(optarg); in main() 188 if (signo) { in main() 192 signo = SIGTERM; in main() 240 (void) kill(kpid, signo); in main()
|
H A D | cktime.c | 45 static int signo; variable 184 signo = atoi(optarg); in main() 192 if (signo) { in main() 196 signo = SIGTERM; in main() 247 (void) kill(kpid, signo); in main()
|
H A D | ckrange.c | 45 static int signo; variable 190 signo = atoi(optarg); in main() 198 if (signo) { in main() 202 signo = SIGTERM; in main() 255 (void) kill(kpid, signo); in main()
|
H A D | ckpath.c | 46 static int signo, pflags; variable 244 signo = atoi(optarg); in main() 252 if (signo) { in main() 256 signo = SIGTERM; in main() 302 (void) kill(kpid, signo); in main()
|
H A D | ckstr.c | 46 static int signo, length; variable 206 signo = atoi(optarg); in main() 214 if (signo) { in main() 218 signo = SIGTERM; in main() 263 (void) kill(kpid, signo); in main()
|
H A D | ckitem.c | 54 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/libcurses/screen/ |
H A D | tstp.c | 71 _ccleanup(int signo) in _ccleanup() argument 73 (void) signal(signo, SIG_IGN); in _ccleanup() 84 fprintf(stderr, "signal %d caught. quitting.\n", signo); in _ccleanup() 86 if (signo == SIGQUIT) in _ccleanup()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | walkstack.c | 196 int signo = 0; in walkcontext() local 283 sig = signo; /* already read - see below */ in walkcontext() 306 signo = fp->fr_arg[0]; in walkcontext() 346 display_stack_info(uintptr_t pc, int signo, void *arg) in display_stack_info() argument 356 if (signo) { in display_stack_info() 360 (void) sig2str(signo, sigbuf); in display_stack_info() 363 buffer, (ulong_t)signo, sigbuf); in display_stack_info() 396 callback(uintptr_t pc, int signo __unused, void *arg) in callback()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgtrans/ |
H A D | main.c | 55 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 D | oplhpd.c | 65 void quit_daemon(int signo); 82 quit_daemon(int signo) in quit_daemon() argument 88 getpid(), signo); in quit_daemon() 97 if (signo < 0) { in quit_daemon() 98 status = signo; in quit_daemon()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/ |
H A D | quit.c | 68 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 D | quit.c | 75 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 D | quit.c | 93 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 D | getvol.c | 49 int signo = SIGKILL; variable 129 signo = atol(optarg); in main() 157 (void) kill(kpid, signo); in main()
|
/illumos-gate/usr/src/cmd/acpihpd/ |
H A D | acpihpd.c | 214 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 D | posix_sigwait.c | 38 __posix_sigwait(const sigset_t *setp, int *signo) in __posix_sigwait() argument 44 if ((*signo = sigwait((sigset_t *)setp)) == -1) { in __posix_sigwait()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | quit.c | 83 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 D | testlib.c | 28 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 D | chat.c | 217 SIGTYPE sigalrm __P((int signo)); 218 SIGTYPE sigint __P((int signo)); 219 SIGTYPE sigterm __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() [all …]
|