summaryrefslogtreecommitdiff
path: root/include/ucontext.h
AgeCommit message (Collapse)AuthorFilesLines
2019-04-05fix signature of function accepted by makecontextBobby Bingham1-1/+1
This parameter was incorrectly declared to be a pointer to a function accepting zero parameters. The intent of makecontext is that it is possible to pass integer parameters to the function, so this should have been a pointer to a function accepting an unspecified set of parameters.
2012-11-25fixup mcontext stuff to expost gregset_t/fpregset_t as appropriateRich Felker1-2/+2
2012-09-07default features: make musl usable without feature test macrosRich Felker1-0/+2
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.
2011-07-31consistency: use struct __ucontext instead of ucontext_t in prototypesRich Felker1-1/+1
this is necessary to avoid build errors if feature test macros are not properly defined when including ucontext.h
2011-06-29avoid errors in ucontext.h when no feature test macros are definedRich Felker1-3/+5
2011-02-18support the ugly and deprecated ucontext and sigcontext header stuff...Rich Felker1-20/+3
only the structures, not the functions from ucontext.h, are supported at this point. the main goal of this commit is to make modern gcc with dwarf2 unwinding build without errors. honestly, it probably doesn't matter how we define these as long as they have members with the right names to prevent errors while compiling libgcc. the only time they will be used is for propagating exceptions across signal-handler boundaries, which invokes undefined behavior anyway. but as-is, they're probably correct and may be useful to various low-level applications dealing with virtualization, jit code generation, and so on...
2011-02-16ucontext is no longer in the standard, so use gnu-friendly struct nameRich Felker1-2/+2
note that this header is still bogus and needs a lot of work and factoring into arch-dependent parts...
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+38