12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #include <signal.h>
- #ifdef __UCLIBC_HAS_THREADS_NATIVE__
- # include <pthreadP.h> /* SIGCANCEL */
- #endif
- #if 0
- #define __need_NULL
- #include <stddef.h>
- #include <errno.h>
- #endif
- int
- sigfillset (sigset_t *set)
- {
- #if 0
- if (set == NULL)
- {
- __set_errno (EINVAL);
- return -1;
- }
- #endif
- __sigfillset (set);
-
- #ifdef SIGCANCEL
- __sigdelset (set, SIGCANCEL);
- #endif
-
- #ifdef SIGSETXID
- __sigdelset (set, SIGSETXID);
- #endif
- return 0;
- }
|