Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 16 of 16) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/signal/
Dsignal.c114 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 …]
Dpsignal.c39 psignal (int sig, in psignal() argument
45 fprintf(stderr, "%s\n", strsignal(sig)); in psignal()
/picolibc-3.7.0-3.6.0/test/
Dtest-raise.c50 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 …]
Dtest-ubsan.c54 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/
Dsignal.h90 #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/
Dfake_kill.c43 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/
Dkill.c44 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/
Dpowerpc_kill.c43 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/
De9_kill.c43 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/
Dsignal.h217 #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/
Dchk_fail.c9 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/
Dsignal.c18 signal (int sig, in signal() argument
/picolibc-3.7.0-3.6.0/newlib/libc/machine/nvptx/
Dmisc.c50 kill (int pid, int sig) { in kill() argument
/picolibc-3.7.0-3.6.0/newlib/libc/include/ssp/
Dssp.h72 void set_fortify_handler (void (*handler) (int sig));
/picolibc-3.7.0-3.6.0/newlib/libc/
Dsys.tex155 int kill(int pid, int sig) @{
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-201516849 * 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,