/freebsd-9.3-release/sys/sys/ |
H A D | _sigset.h | 46 #define _SIG_IDX(sig) ((sig) - 1) 47 #define _SIG_WORD(sig) (_SIG_IDX(sig) >> 5) 48 #define _SIG_BIT(sig) (1 << (_SIG_IDX(sig) & 31)) 49 #define _SIG_VALID(sig) ((sig) <= _SIG_MAXSIG && (sig) > 0)
|
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | sig.c | 34 #include "sig.h" 50 signal_recorder(int sig) argument 52 caused[sig - 1]++; 58 * Set up signal_recorder to handle the given sig and record ``fn'' as 64 sig_signal(int sig, sig_type fn) argument 68 if (sig <= 0 || sig > NSIG) { 72 return signal(sig, fn); 74 Result = handler[sig - 1]; 76 signal(sig, f 97 int sig; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/dsa/ |
H A D | dsa_utl.c | 75 DSA_SIG *sig; local 76 sig = OPENSSL_malloc(sizeof(DSA_SIG)); 77 if (!sig) 79 sig->r = NULL; 80 sig->s = NULL; 81 return sig; 84 void DSA_SIG_free(DSA_SIG *sig) argument 86 if (sig) { 87 if (sig->r) 88 BN_free(sig [all...] |
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_signal.h | 39 void ksiginfo_to_lsiginfo(ksiginfo_t *ksi, l_siginfo_t *lsi, l_int sig); 41 #define LINUX_SIG_VALID(sig) ((sig) <= LINUX_NSIG && (sig) > 0) 43 #define BSD_TO_LINUX_SIGNAL(sig) \ 44 (((sig) <= LINUX_SIGTBLSZ) ? bsd_to_linux_signal[_SIG_IDX(sig)] : sig)
|
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_kill.c | 43 _pthread_kill(pthread_t pthread, int sig) argument 49 if (sig < 0 || sig > _SIG_MAXSIG) 61 if (sig > 0) 62 _thr_send_sig(pthread, sig); 66 if (sig > 0) 67 _thr_send_sig(pthread, sig);
|
/freebsd-9.3-release/lib/libkse/thread/ |
H A D | thr_kill.c | 42 _pthread_kill(pthread_t pthread, int sig) argument 48 if (sig < 0 || sig > _SIG_MAXSIG) 58 if ((sig > 0) && 59 (_thread_sigact[sig - 1].sa_handler != SIG_IGN)) 60 _thr_sig_send(pthread, sig);
|
H A D | thr_raise.c | 38 int _raise(int sig); 43 _raise(int sig) argument 48 ret = kill(getpid(), sig); 50 ret = _pthread_kill(_pthread_self(), sig);
|
/freebsd-9.3-release/contrib/gdb/gdb/config/arm/ |
H A D | tm-wince.h | 30 #define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p)
|
/freebsd-9.3-release/contrib/gdb/gdb/config/mips/ |
H A D | tm-wince.h | 29 #define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p)
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | siginterrupt.c | 46 siginterrupt(sig, flag) 47 int sig, flag; 53 if ((ret = _sigaction(sig, (struct sigaction *)0, &sa)) < 0) 56 sigaddset(&_sigintr, sig); 59 sigdelset(&_sigintr, sig); 62 return (_sigaction(sig, &sa, (struct sigaction *)0));
|
H A D | psignal.c | 47 psignal(sig, s) 48 unsigned int sig; 53 if (sig < NSIG) 54 c = sys_siglist[sig];
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | signal.c | 114 static void __cdecl evsig_handler(int sig); 124 evsig_base_n_signals_added = base->sig.ev_n_signals_added; 125 evsig_base_fd = base->sig.ev_signal_pair[1]; 159 ev_uint8_t sig = signals[i]; local 160 if (sig < NSIG) 161 ncaught[sig]++; 181 if (evutil_make_internal_pipe_(base->sig.ev_signal_pair) == -1) { 192 if (base->sig.sh_old) { 193 mm_free(base->sig.sh_old); 195 base->sig 220 struct evsig_info *sig = &base->sig; local 280 struct evsig_info *sig = &base->sig; local 327 struct evsig_info *sig = &base->sig; local 377 evsig_handler(int sig) argument [all...] |
/freebsd-9.3-release/contrib/ncurses/ncurses/base/ |
H A D | sigaction.c | 41 _nc_sigaction(int sig, sigaction_t * sigact, sigaction_t * osigact) argument 43 return sigvec(sig, sigact, osigact); 73 _nc_sigaddset(sigset_t * mask, int sig) argument 75 *mask |= sigmask(sig); 88 _nc_sigdelset(sigset_t * mask, int sig) 90 *mask &= ~sigmask(sig); 95 _nc_sigismember(sigset_t * mask, int sig) 97 return (*mask & sigmask(sig)) != 0;
|
/freebsd-9.3-release/contrib/texinfo/info/ |
H A D | signals.h | 57 # define sigaddset(set, sig) *(set) |= sigmask (sig) 60 # define sigdelset(set, sig) *(set) &= ~(sigmask (sig)) 63 # define sigismember(set, sig) (*(set) & (sigmask (sig))) 73 #define BLOCK_SIGNAL(sig) \ 78 sigaddset (&nvar, sig); \ 82 #define UNBLOCK_SIGNAL(sig) \ 87 sigaddset (&nvar, sig); \ [all...] |
H A D | signals.c | 90 static RETSIGTYPE info_signal_proc (int sig); 96 set_termsig (int sig, signal_info *old) argument 98 sigaction (sig, &info_signal_handler, old); 102 restore_termsig (int sig, const signal_info *saved) argument 104 sigaction (sig, saved, NULL); 108 #define set_termsig(sig, old) (void)(*(old) = signal (sig, info_signal_proc)) 109 #define restore_termsig(sig, saved) (void)signal (sig, *(saved)) 180 info_signal_proc (int sig) argument 237 kill (getpid (), sig); local 272 kill (getpid (), sig); local [all...] |
/freebsd-9.3-release/sys/boot/arm/at91/boot2/ |
H A D | centipad_board.c | 42 uint32_t sig; 43 sig = 0; 44 ReadEEPROM(12 * 1024, (uint8_t *)&sig, sizeof(sig)); 45 if (sig != 0x92021054)
|
H A D | kb920x_board.c | 41 uint32_t sig; local 42 sig = 0; 43 ReadEEPROM(12 * 1024, (uint8_t *)&sig, sizeof(sig)); 44 if (sig != 0x92021054)
|
/freebsd-9.3-release/contrib/tcsh/ |
H A D | tc.sig.c | 1 /* $Header: /p/tcsh/cvsroot/tcsh/tc.sig.c,v 3.40 2012/01/25 15:34:41 christos Exp $ */ 3 * tc.sig.c: Signal routine emulations 35 RCSID("$tcsh: tc.sig.c,v 3.40 2012/01/25 15:34:41 christos Exp $") 40 sigset_interrupting(int sig, void (*fn) (int)) argument 47 if (sigaction(sig, &act, NULL) == 0) { 50 sigaddset(&set, sig); 98 queue_alrmcatch(int sig) argument 100 USE(sig); 105 queue_pchild(int sig) argument 107 USE(sig); 112 queue_phup(int sig) argument 119 queue_pintr(int sig) argument [all...] |
/freebsd-9.3-release/contrib/sendmail/include/sm/ |
H A D | signal.h | 48 #define CHECK_CRITICAL(sig) \ 51 if (InCriticalSection > 0 && (sig) != 0) \ 53 pend_signal((sig)); \ 67 # define FIX_SYSV_SIGNAL(sig, handler) \ 69 if ((sig) != 0) \ 70 (void) sm_signal((sig), (handler)); \ 73 # define FIX_SYSV_SIGNAL(sig, handler) { /* EMPTY */ }
|
/freebsd-9.3-release/contrib/sendmail/libsm/ |
H A D | signal.c | 39 sm_signal(sig, handler) 40 int sig; 61 if (sigaction(sig, &n, &o) < 0) 73 return signal(sig, handler); 75 return sigset(sig, handler); 86 if (sigaction(sig, &n, &o) < 0) 96 ** sig -- the signal to block. 105 sm_blocksignal(sig) 106 int sig; 112 return (sigblock(sigmask(sig)) [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_saos.c | 71 ASN1_OCTET_STRING sig; local 75 sig.type = V_ASN1_OCTET_STRING; 76 sig.length = m_len; 77 sig.data = (unsigned char *)m; 79 i = i2d_ASN1_OCTET_STRING(&sig, NULL); 92 i2d_ASN1_OCTET_STRING(&sig, &p); 112 ASN1_OCTET_STRING *sig = NULL; local 131 sig = d2i_ASN1_OCTET_STRING(NULL, &p, (long)i); 132 if (sig == NULL) 135 if (((unsigned int)sig [all...] |
/freebsd-9.3-release/tools/test/testfloat/ |
H A D | slowfloat-32.c | 40 bits64X sig; member in struct:__anon10643 120 if ( zx.sig.a1 ) { 125 if ( zx.sig.a1 < 0x80000000 ) goto noIncrement; 126 if ( ( zx.sig.a1 == 0x80000000 ) && ! ( zx.sig.a0 & 1 ) ) { 139 ++zx.sig.a0; 140 if ( zx.sig.a0 == 0x01000000 ) { 141 zx.sig.a0 = 0x00800000; 146 zx.sig.a1 = 0; 155 roundBits = zx.sig [all...] |
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | setsignal.c | 74 (*setsignal (int sig, RETSIGTYPE (*func)(int)))(int) argument 81 if (sigaction(sig, &new, &old) < 0) 87 return (sigset(sig, func)); 89 return (signal(sig, func));
|
/freebsd-9.3-release/contrib/bmake/ |
H A D | wait.h | 59 #define WSET_STOPCODE(x, sig) ((&x)->w_stopsig = (sig)) 62 #define WSET_EXITCODE(x, ret, sig) ((&x)->w_termsig = (sig), (&x)->w_retcode = (ret)) 66 #define WSET_STOPCODE(x, sig) ((x) = ((sig) << 8) | 0177) 69 #define WSET_EXITCODE(x, ret, sig) ((x) = (ret << 8) | (sig))
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | sigact.c | 49 sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact) argument 51 return sigvec(sig, sigact ? &sigact->sv : NULL, 101 sigdelset (sigset_t *mask, int sig) argument 107 *mask &= ~sigmask(sig); 112 sigaddset (sigset_t *mask, int sig) argument 118 *mask |= sigmask(sig); 123 sigismember (sigset_t *mask, int sig) argument 129 return (*mask & sigmask(sig)) != 0;
|