/picolibc-3.7.0-3.6.0/newlib/libc/signal/ |
D | signal.c | 114 signal (int sig, _sig_func_ptr func) in signal() argument 116 if (sig < 0 || sig >= NSIG) in signal() 124 return (_sig_func_ptr) atomic_exchange(&_sig_func[sig], ifunc); in signal() 126 _sig_func_ptr old = _sig_func[sig]; in signal() 127 _sig_func[sig] = func; in signal() 133 raise (int sig) in raise() argument 135 if (sig < 0 || sig >= NSIG) in raise() 144 func = (_sig_func_ptr) atomic_load(&_sig_func[sig]); in raise() 146 func = _sig_func[sig]; in raise() 151 _exit(128 + sig); in raise() [all …]
|
D | psignal.c | 39 psignal (int sig, in psignal() argument 45 fprintf(stderr, "%s\n", strsignal(sig)); in psignal()
|
/picolibc-3.7.0-3.6.0/test/ |
D | test-raise.c | 50 signal_handler(int sig) in signal_handler() argument 52 handler_sig_received = sig; in signal_handler() 53 if (sig == (int) handler_sig_expect) in signal_handler() 85 int sig = test_signals[u]; in main() local 98 old_func = signal(sig, new_func); in main() 101 sig, old_func); in main() 108 handler_sig_expect = (sig_atomic_t) sig; in main() 110 ret = raise(sig); in main() 112 printf("signal %d: raise returned %d\n", sig, ret); in main() 120 printf("signal %d: handler called with SIG_IGN\n", sig); in main() [all …]
|
D | test-ubsan.c | 54 abrt_handler(int sig) in abrt_handler() argument 56 if (sig == (int) SIGABRT) in abrt_handler() 60 printf("unexpected signal %d\n", sig); in abrt_handler()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/cris/sys/ |
D | signal.h | 90 #define sigaddset(what,sig) (*(what) |= (1<<(sig)), 0) argument 91 #define sigdelset(what,sig) (*(what) &= ~(1<<(sig)), 0) argument 94 #define sigismember(what,sig) (((*(what)) & (1<<(sig))) != 0) argument
|
/picolibc-3.7.0-3.6.0/semihost/fake/ |
D | fake_kill.c | 43 int kill(pid_t pid, int sig) { if (pid == 1) _exit(128 + sig); errno = ESRCH; return -1; } in kill() argument
|
/picolibc-3.7.0-3.6.0/semihost/ |
D | kill.c | 44 int kill(pid_t pid, int sig) { if (pid == 1) _exit(128 + sig); errno = ESRCH; return -1; } in kill() argument
|
/picolibc-3.7.0-3.6.0/semihost/machine/powerpc/ |
D | powerpc_kill.c | 43 int kill(pid_t pid, int sig) { if (pid == 1) _exit(128 + sig); errno = ESRCH; return -1; } in kill() argument
|
/picolibc-3.7.0-3.6.0/semihost/machine/x86/ |
D | e9_kill.c | 43 int kill(pid_t pid, int sig) { if (pid == 1) _exit(128 + sig); errno = ESRCH; return -1; } in kill() argument
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/sys/ |
D | signal.h | 217 #define sigaddset(what,sig) (*(what) |= (1<<(sig)), 0) argument 218 #define sigdelset(what,sig) (*(what) &= ~(1<<(sig)), 0) argument 221 #define sigismember(what,sig) (((*(what)) & (1<<(sig))) != 0) argument
|
/picolibc-3.7.0-3.6.0/newlib/libc/ssp/ |
D | chk_fail.c | 9 static void (*fortify_handler)(int sig); 29 set_fortify_handler (void (*handler) (int sig)) in set_fortify_handler() argument
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/amdgcn/ |
D | signal.c | 18 signal (int sig, in signal() argument
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/nvptx/ |
D | misc.c | 50 kill (int pid, int sig) { in kill() argument
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/ssp/ |
D | ssp.h | 72 void set_fortify_handler (void (*handler) (int sig));
|
/picolibc-3.7.0-3.6.0/newlib/libc/ |
D | sys.tex | 155 int kill(int pid, int sig) @{
|
/picolibc-3.7.0-3.6.0/newlib/ |
D | ChangeLog-2015 | 16849 * libc/sys/linux/sig.c: Ditto. 17959 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also 17960 make siglist.inc dependent on sig.c instead of signal.c. 17962 * libc/sys/linux/sig.c: Rename from signal.c and change code to 22453 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
|