Home
last modified time | relevance | path

Searched refs:signo (Results 1 – 25 of 70) 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/cmd/valtools/
H A Dckyorn.c45 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 Dckkeywd.c45 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 Dckint.c44 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 Dckgid.c45 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 Dckuid.c45 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 Dckdate.c44 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 Dcktime.c45 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 Dckrange.c45 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 Dckpath.c46 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 Dckstr.c46 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 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/libcurses/screen/
H A Dtstp.c71 _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 Dwalkstack.c196 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 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.c65 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 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.c49 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 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.c38 __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 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));
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 …]

123