1234567891011121314151617181920212223242526272829303132333435363738 |
- #include <pthreadP.h>
- #include <signal.h>
- libc_hidden_proto(sigaction)
- extern __typeof(sigaction) __libc_sigaction;
- int
- sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
- {
- if (unlikely (sig == SIGCANCEL || sig == SIGSETXID))
- {
- __set_errno (EINVAL);
- return -1;
- }
- return __libc_sigaction (sig, act, oact);
- }
- libc_hidden_def(sigaction)
|