about summary refs log tree commit diff
path: root/include/signal.h
Commit message (Collapse)AuthorAgeFilesLines
* fix some obscure header type size/alignment issuesRich Felker2013-03-041-1/+1
|
* add sigandset and sigorset (needed for qemu)rofl0r2012-12-061-0/+3
|
* feature test macros: make _GNU_SOURCE enable everythingRich Felker2012-12-031-1/+1
| | | | | | | | | | | | | | | | previously, a few BSD features were enabled only by _BSD_SOURCE, not by _GNU_SOURCE. since _BSD_SOURCE is default in the absence of other feature test macros, this made adding _GNU_SOURCE to a project not a purely additive feature test macro; it actually caused some features to be suppressed. most of the changes made by this patch actually bring musl in closer alignment with the glibc behavior for _GNU_SOURCE. the only exceptions are the added visibility of functions like strlcpy which were BSD-only due to being disliked/rejected by glibc maintainers. here, I feel the consistency of having _GNU_SOURCE mean "everything", and especially the property of it being purely additive, are more valuable than hiding functions which glibc does not have.
* provide NSIG under _BSD_SOURCE (default) as well as _GNU_SOURCERich Felker2012-11-301-1/+4
| | | | | this fixes a regression related to the changes made to bits/signal.h between 0.9.7 and 0.9.8 that broke some (non-portable) software.
* fixup mcontext stuff to expost gregset_t/fpregset_t as appropriateRich Felker2012-11-251-0/+1
|
* add back NSIG, removed from powerpc in last commit, but for all archsRich Felker2012-11-211-0/+1
| | | | | | | | unlike the previous definition, NSIG/_NSIG is supposed to be one more than the highest signal number. adding this will allow simplifying libc-internal code that makes signal-related syscalls, which can be done as a later step. some apps might use it too; while this usage is questionable, it's at least not insane.
* default features: make musl usable without feature test macrosRich Felker2012-09-071-5/+1
| | | | | | | | | | the old behavior of exposing nothing except plain ISO C can be obtained by defining __STRICT_ANSI__ or using a compiler option (such as -std=c99) that predefines it. the new default featureset is POSIX with XSI plus _BSD_SOURCE. any explicit feature test macros will inhibit the default. installation docs have also been updated to reflect this change.
* use restrict everywhere it's required by c99 and/or posix 2008Rich Felker2012-09-061-7/+13
| | | | | | | | to deal with the fact that the public headers may be used with pre-c99 compilers, __restrict is used in place of restrict, and defined appropriately for any supported compiler. we also avoid the form [restrict] since older versions of gcc rejected it due to a bug in the original c99 standard, and instead use the form *restrict.
* fix redef of sigprocmask constants on mipsRich Felker2012-07-121-2/+0
| | | | this fix is easier than trying to reorder the header stuff
* more mips bits-header fixesRich Felker2012-07-121-0/+2
| | | | signal handling was very broken because of this
* bsd_signal is a legacy (removed) XSI function, not needed in _BSD_SOURCERich Felker2012-05-221-4/+1
| | | | | its only purpose was for use on non-BSD systems that implement sysv semantics for signal() by default.
* support _BSD_SOURCE feature test macroRich Felker2012-05-221-2/+10
| | | | | patch by Isaac Dunham. matched closely (maybe not exact) to glibc's idea of what _BSD_SOURCE should make visible.
* rename __sa_restorer to sa_restorer in struct sigactionRich Felker2012-04-131-1/+1
| | | | | | | | | this is legal since sa_* is in the reserved namespace for signal.h, per posix. note that the sa_restorer field is not used anywhere, so programs that are trying to use it may still break, but at least they'll compile. if it turns out such programs actually need to be able to set their own sa_restorer to function properly, i'll add the necessary code to sigaction.c later.
* fix typo in FPE_FLTUND definition, signal.hRich Felker2012-01-251-1/+1
|
* fix missing SIG_DFL, SIG_IGN, SIG_ERR without posix in signal.hRich Felker2011-09-211-5/+6
|
* fix broken siginfo_t with _GNU_SOURCE definedRich Felker2011-09-201-6/+5
| | | | | | | this bug was introduced in a recent patch. the problem we're working around is that broken GNU software wants to use "struct siginfo" rather than "siginfo_t", but "siginfo" is not in the reserved namespace and thus not legal for the standard header to use.
* add some more siginfo aliases broken software expects...Rich Felker2011-09-191-0/+2
|
* cleanup redundancy in bits/signal.h versionsRich Felker2011-09-191-4/+108
|
* implement gnu sigisemptysetRich Felker2011-09-121-0/+1
|
* fix missing prototypes/wrong signature for psiginfo, psignalRich Felker2011-09-021-0/+3
|
* fix some struct padding to match LSB/glibc ABI where it may be helpfulRich Felker2011-06-161-0/+1
|
* add SA_NOMASK alias for SA_NODEFER with _GNU_SOURCERich Felker2011-05-051-0/+1
|
* fix incorrect GNU sighandler_t typedefRich Felker2011-04-131-1/+1
|
* implement POSIX timersRich Felker2011-03-291-6/+16
| | | | | | | | this implementation is superior to the glibc/nptl implementation, in that it gives true realtime behavior. there is no risk of timer expiration events being lost due to failed thread creation or failed malloc, because the thread is created as time creation time, and reused until the timer is deleted.
* move the GNU siginfo renaming so it doesn't lead to mismatching namesRich Felker2011-02-201-1/+4
|
* some gnu software wrongly uses "struct siginfo" instead of siginfo_t...Rich Felker2011-02-161-0/+1
|
* fix broken signal.h from header cleanupRich Felker2011-02-151-2/+2
|
* fix some type leakage (timer_t) from x86_64 commitRich Felker2011-02-151-1/+0
|
* Port musl to x86-64. One giant commit!Nicholas J. Kain2011-02-151-0/+1
|
* header cleanup, conformance fixes - signalsRich Felker2011-02-141-13/+19
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+98