/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtsignal.c | 27 * 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...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | killpg.c | 44 killpg(pid_t pgrp, int sig) argument 53 return (kill(-pgrp, sig));
|
H A D | raise.c | 42 raise(int sig) argument 46 if ((error = thr_kill(thr_self(), sig)) != 0) {
|
H A D | sigflag.c | 39 sigflag(int sig, int flag, int on) argument 44 if ((v = sigaction(sig, 0, &sa)) < 0) 50 return (sigaction(sig, &sa, 0));
|
H A D | sigsend.c | 40 sigsend(idtype_t idtype, id_t id, int sig) argument 44 return (sigsendset(&set, sig));
|
H A D | ssignal.c | 50 ssignal(int sig, int (*action)(int)))(int) argument 54 if (sig >= MINSIG && sig <= MAXSIGNUM) { 55 savefn = sigs[sig-MINSIG]; 56 sigs[sig-MINSIG] = action; 64 gsignal(int sig) argument 68 if (sig < MINSIG || sig > MAXSIGNUM || 69 (sigfn = sigs[sig-MINSIG]) == (int(*)(int))SIG_DFL) 74 sigs[sig [all...] |
H A D | psignal.c | 40 * Print the name of the signal indicated by "sig", along with the 58 psignal(int sig, const char *s) argument 64 if (sig < 0 || sig >= NSIG) 65 sig = 0; 66 c = strsignal(sig);
|
H A D | sigsetops.c | 59 sigvalid(int sig) argument 61 if (sig <= 0 || sig > (MAXBITNO * SIGSETSIZE)) 69 return ((sigs.__sigbits[sigword(sig)] & bitmask(sig)) != 0); 95 sigaddset(sigset_t *set, int sig) argument 97 if (!sigvalid(sig)) { 101 set->__sigbits[sigword(sig)] |= bitmask(sig); 106 sigdelset(sigset_t *set, int sig) argument 117 sigismember(const sigset_t *set, int sig) argument [all...] |
H A D | stack.c | 85 stack_violation(int sig, const siginfo_t *sip, const ucontext_t *ucp) argument 91 if ((sig != SIGSEGV && sig != SIGBUS) ||
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | siginterrupt.c | 35 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 D | bsd_signal.c | 47 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)
|
H A D | signal.c | 52 * Equivalent to stopdefault set in the kernel implementation (sig.c). 65 signal(int sig, void(*func)(int)))(int) argument 70 CHECK_SIG(sig, SIG_ERR); 77 * Pay special attention if sig is SIGCHLD and 80 if (sig == SIGCHLD) { 86 if (STOPDEFAULT(sig)) 89 if (sigaction(sig, &nact, &oact) < 0) 96 sighold(int sig) argument 100 CHECK_SIG(sig, -1); 106 if (sigaddset(&set, sig) < 112 sigrelse(int sig) argument 128 sigignore(int sig) argument 161 __sigpause(int sig) argument 183 sigset(int sig, void(*func)(int)) argument [all...] |
/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_sigaction.c | 45 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
|
H A D | proc_names.c | 88 proc_signame(int sig, char *buf, size_t bufsz) argument 99 if (sig2str(sig, name+3) == 0) { 103 len = snprintf(buf, bufsz, "SIG#%d", sig); 647 int sig; local 659 if (proc_str2sig(p, &sig) == -1) { 664 praddset(set, sig); 666 prdelset(set, sig);
|
/osnet-11/usr/src/lib/libcontract/common/ |
H A D | process_dump.c | 109 int sig = WTERMSIG(i); local 111 dgettext(TEXT_DOMAIN, " (signal %d"), sig); 112 if (sig2str(sig, buf) == 0)
|
/osnet-11/usr/src/lib/efcode/engine/ |
H A D | signal.c | 45 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));
|
/osnet-11/usr/src/grub/grub2/grub-core/partmap/ |
H A D | plan.c | 46 char sig[sizeof ("part ") - 1]; local 52 err = grub_disk_read (disk, 1, ptr, sizeof (sig), sig); 55 if (grub_memcmp (sig, "part ", sizeof ("part ") - 1) != 0) 57 ptr += sizeof (sig);
|
/osnet-11/usr/src/cmd/sendmail/libmilter/ |
H A D | signal.c | 95 int sig, errs, sigerr; local 108 sigerr = sig = 0; 110 if ((sig = sigwait(&set)) < 0) 112 if ((sigerr = sigwait(&set, &sig)) != 0) 134 switch (sig) 146 (char *)name, sig);
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | sigcrit.c | 31 #include <sig.h> 35 int sig; member in struct:__anon1169 77 interrupt(int sig) argument 79 signal(sig, interrupt); 80 hold |= sigmask(sig); 123 sigaddset(&nmask, signals[i].sig); 130 mask |= sigmask(signals[i].sig); 135 if ((op & signals[i].op) && (handler[i] = signal(signals[i].sig, interrupt)) == SIG_IGN) 137 signal(signals[i].sig, handler[i]); 138 hold &= ~sigmask(signals[i].sig); [all...] |
H A D | signal.c | 37 #include <sig.h> 75 signal(int sig, Sig_handler_t fun) argument 84 if (sig < 0) 86 sig = -sig; 92 flags = sig & ~SIGNO_MASK; 93 sig &= SIGNO_MASK; 98 switch (sig) 125 if (sigaction(sig, &na, &oa)) 128 sigunblock(sig); [all...] |
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_sendsigned.c | 37 u_char sig[64]; local 77 siglen = sizeof(sig); 79 sig, &siglen, 0); 113 ret = ns_verify(answer, &len, dstkey, sig, siglen,
|
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | CSrvMsg.java | 186 final void setURLSignature(ServiceURL URL, Hashtable sig) argument 189 if (sig == null) { 192 URLSignatures.put(URL, sig);
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | pptrace.c | 199 #include <sig.h> 203 * sig==0 registers the handler 207 pptrace(int sig) argument 214 if (!sig) 228 s = fmtsignal(sig); 238 handling = sig; 257 signal(sig, SIG_DFL); 258 sigunblock(sig); 259 kill(getpid(), sig); local
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_signing.c | 84 uint8_t hdr[SMBSIGOFF]; /* sig. offset (14) */ 85 uint32_t sig[2]; /* MAC signature, aligned! */ member in struct:__anon2617::__anon2619 100 smbhdr.s.sig[0] = htolel(seqno); 101 smbhdr.s.sig[1] = 0;
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | clock.c | 321 sm_tick(sig) 322 int sig; 346 FIX_SYSV_SIGNAL(sig, sm_tick); 348 CHECK_CRITICAL(sig); 354 int sig = 0; local 359 sig = SIGHUP; 364 sig = SIGINT; 369 sig = SIGTERM; 374 sig = SIGUSR1; 382 kill(mypid, sig); [all...] |