diff options
Diffstat (limited to 'libc/signal/sigfillset.c')
| -rw-r--r-- | libc/signal/sigfillset.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/signal/sigfillset.c b/libc/signal/sigfillset.c index 96ab459dc..b0b093032 100644 --- a/libc/signal/sigfillset.c +++ b/libc/signal/sigfillset.c @@ -23,17 +23,19 @@ /* Experimentally off - libc_hidden_proto(memset) */ /* Set all signals in SET. */ -libc_hidden_proto(sigfillset) +/* libc_hidden_proto(sigfillset) */ int sigfillset (sigset_t *set) { +#if 0 /* is it really required by standards?! */ if (set == NULL) { __set_errno (EINVAL); return -1; } +#endif - memset (set, 0xff, sizeof (sigset_t)); + __sigfillset (set); /* If the implementation uses a cancellation signal don't set the bit. */ #ifdef SIGCANCEL |
