summaryrefslogtreecommitdiff
path: root/src/signal/sigisemptyset.c
AgeCommit message (Collapse)AuthorLines
2018-05-01optimize sigisemptysetRich Felker-2/+3
the static const zero set ended up getting put in bss instead of rodata, wasting writable memory, and the call to memcmp was size-inefficient. generally for nonstandard extension functions we try to avoid poking at any internals directly, but the way the zero set was setup was arguably already doing so.
2013-08-09change sigset_t functions to restrict to _NSIGRich Felker-2/+2
the idea here is to avoid advertising signals that don't exist and to make these functions safe to call (e.g. from within other parts of the implementation) on fake sigset_t objects which do not have the HURD padding.
2011-09-12implement gnu sigisemptysetRich Felker-0/+9