source:
azure_iot_hub/trunk/musl-1.1.18/src/signal/sigisemptyset.c@
389
Last change on this file since 389 was 389, checked in by , 5 years ago | |
---|---|
|
|
File size: 204 bytes |
Line | |
---|---|
1 | #define _GNU_SOURCE |
2 | #include <signal.h> |
3 | #include <string.h> |
4 | |
5 | int sigisemptyset(const sigset_t *set) |
6 | { |
7 | static const unsigned long zeroset[_NSIG/8/sizeof(long)]; |
8 | return !memcmp(set, &zeroset, _NSIG/8); |
9 | } |
Note:
See TracBrowser
for help on using the repository browser.