On Tuesday 26 November 2013 21:01, Daniel Borca wrote:
> sigisemptyset() is a glibc function

+       sigset_t empty;
+       int ret = sigemptyset(&empty);
+       if (ret == 0) {
+               ret = !memcmp(&empty, set, sizeof(sigset_t));
+       }

In this code sigemptyset() never fails.
Please do not waste code checking for it.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to