mailing list of musl libc
 help / color / mirror / code / Atom feed
ab87d62249de487cdb1c0990ffa26acf60160ade blob 206 bytes (raw)

1
2
3
4
5
6
7
8
 
#include <signal.h>

int sigismember(const sigset_t *set, int sig)
{
	unsigned s = sig-1;
	if (s >= _NSIG-1) return 0;
	return !!(set->__bits[s/8/sizeof *set->__bits] & 1UL<<(s&8*sizeof *set->__bits-1));
}
debug log:

solving ab87d622 ...
found ab87d622 in https://git.vuxu.org/mirror/musl/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).