Searched defs:sig (Results 1 - 25 of 329) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dkill.c35 kill(int pid, int sig) argument
37 return(bc_kill(pid, sig));
41 bc_kill(int pid, int sig) argument
43 return(_kill(pid, maptonewsig(sig)));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dkillpg.c44 killpg(pid_t pgrp, int sig) argument
53 return (kill(-pgrp, sig));
H A Draise.c42 raise(int sig) argument
46 if ((error = thr_kill(thr_self(), sig)) != 0) {
H A Dsigflag.c39 sigflag(int sig, int flag, int on) argument
44 if ((v = sigaction(sig, 0, &sa)) < 0)
50 return (sigaction(sig, &sa, 0));
H A Dsigsend.c40 sigsend(idtype_t idtype, id_t id, int sig) argument
44 return (sigsendset(&set, sig));
H A Dssignal.c48 ssignal(int sig, int (*action)(int)))(int) argument
52 if (sig >= MINSIG && sig <= MAXSIGNUM) {
53 savefn = sigs[sig-MINSIG];
54 sigs[sig-MINSIG] = action;
63 gsignal(int sig) argument
67 if (sig < MINSIG || sig > MAXSIGNUM ||
68 (sigfn = sigs[sig-MINSIG]) == (int(*)(int))(uintptr_t)SIG_DFL) {
74 sigs[sig
[all...]
H A Dpsignal.c41 * Print the name of the signal indicated by "sig", along with the
59 psignal(int sig, const char *s) argument
65 if (sig < 0 || sig >= NSIG)
66 sig = 0;
67 c = strsignal(sig);
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsiginterrupt.c35 siginterrupt(int sig, int flag) argument
42 if (sig <= 0 || sig >= NSIG) {
47 (void) sigaction(sig, NULL, &act);
52 return (sigaction(sig, &act, NULL));
H A Dbsd_signal.c47 bsd_signal(int sig, void(*func)(int)))(int) argument
52 CHECK_SIG(sig, SIG_ERR);
57 (void) sigaddset(&nact.sa_mask, sig);
59 if (sigaction(sig, &nact, &oact) == -1)
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dpsignal.c54 psignal(unsigned int sig, char *s) argument
57 _psignal(sig, s);
H A D_psignal.c55 _psignal(unsigned int sig, char *s) argument
61 if (sig < NSIG)
62 c = sys_siglist[sig];
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dkillpg.c49 killpg(int pgrp, int sig) argument
58 return (kill(-pgrp, sig));
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmtsignal.c27 * if sig>=0 then return signal text for signal sig
28 * otherwise return signal name for signal -sig
32 #include <sig.h>
35 fmtsignal(register int sig) argument
40 if (sig >= 0)
42 if (sig <= sig_info.sigmax)
43 buf = sig_info.text[sig];
47 sfsprintf(buf, z, "Signal %d", sig);
52 sig
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_select5.c3 int load_sig(unsigned long sig) argument
5 return sig < 4 ? 0 : -12;
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.ret2.c46 handle(int sig) argument
H A Dtst.ret1.c52 handle(int sig) argument
H A Dtst.weak1.c46 handle(int sig) argument
H A Dtst.weak2.c46 handle(int sig) argument
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/raise/
H A Dtst.raise2.c33 handle(int sig) argument
H A Dtst.raise3.c33 handle(int sig) argument
/illumos-gate/usr/src/uts/common/syscall/
H A Dsigsendset.c47 sigsendsys(procset_t *psp, int sig) argument
54 if (sig < 0 || sig >= NSIG)
58 v.sig = sig;
/illumos-gate/usr/src/cmd/killall/
H A Dkillall.c41 int sig; local
52 sig = SIGTERM;
55 if (str2sig(argv[1], &sig) == 0)
66 (void) kill(u->ut_pid, sig);
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyplckpwdf.c59 almhdlr(int sig) argument
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_sigaction.c45 int sig, const struct sigaction *act, struct sigaction *oact)
57 return (sigaction(sig, act, oact));
59 adp = &argd[0]; /* sig argument */
60 adp->arg_value = sig;
44 pr_sigaction(struct ps_prochandle *Pr, int sig, const struct sigaction *act, struct sigaction *oact) argument
/illumos-gate/usr/src/lib/efcode/engine/
H A Dsignal.c45 process_signal(int sig, siginfo_t *sip, void *addr) argument
51 switch (sig) {
57 strsignal(sig), sip->si_addr);
68 forth_abort(saved_envp, strsignal(sig));

Completed in 268 milliseconds

1234567891011>>