musl/include/ucontext.h, branch master musl - an implementation of the standard library for Linux-based systems fix signature of function accepted by makecontext 2019年04月05日T21:29:00+00:00 Bobby Bingham koorogi@koorogi.info 2019年04月05日T17:26:17+00:00 e8e780af9865edbc0495aed326a736d013ef7168 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.
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.
fixup mcontext stuff to expost gregset_t/fpregset_t as appropriate 2012年11月26日T04:04:23+00:00 Rich Felker dalias@aerifal.cx 2012年11月26日T04:04:23+00:00 a8da6c2f287037cbacc65578a268f355760eaf8e
default features: make musl usable without feature test macros 2012年09月08日T03:13:55+00:00 Rich Felker dalias@aerifal.cx 2012年09月08日T03:13:55+00:00 c1a9658bd19245ff0fb52d3da567815d822fb622 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.
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.
consistency: use struct __ucontext instead of ucontext_t in prototypes 2011年07月31日T04:10:29+00:00 Rich Felker dalias@aerifal.cx 2011年07月31日T04:10:29+00:00 acfd06df17fd3940e4602af4b9132f61a6a3eb7f this is necessary to avoid build errors if feature test macros are not properly defined when including ucontext.h
this is necessary to avoid build errors if feature test macros are not
properly defined when including ucontext.h
avoid errors in ucontext.h when no feature test macros are defined 2011年06月29日T21:13:01+00:00 Rich Felker dalias@aerifal.cx 2011年06月29日T21:13:01+00:00 47e72e10d5e1c7e88b8e419586baf55b12141446
support the ugly and deprecated ucontext and sigcontext header stuff... 2011年02月19日T03:03:03+00:00 Rich Felker dalias@aerifal.cx 2011年02月19日T03:03:03+00:00 ad2fe25041622b6cf426b0f98af0e52c2c9727f6 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...
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...
ucontext is no longer in the standard, so use gnu-friendly struct name 2011年02月17日T04:36:26+00:00 Rich Felker dalias@aerifal.cx 2011年02月17日T04:36:26+00:00 798a12ecc4ec4a7780beaf2f5fb86ffbc9738755 note that this header is still bogus and needs a lot of work and factoring into arch-dependent parts...
note that this header is still bogus and needs a lot of work and
factoring into arch-dependent parts...
initial check-in, version 0.5.0 2011年02月12日T05:22:29+00:00 Rich Felker dalias@aerifal.cx 2011年02月12日T05:22:29+00:00 0b44a0315b47dd8eced9f3b7f31580cf14bbfc01

AltStyle によって変換されたページ (->オリジナル) /