summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorLines
2011-02-20make real symbols for the legacy (nonstandardized) utmp functionsRich Felker-6/+15
this is needed in the long term for ABI compatibility anyway, and in the immediate, it helps with building broken programs like GNU screen that try to prototype the functions themselves rather than using the header.
2011-02-20resolve some header namespace non-issuesRich Felker-2/+0
after re-reading 2.2.2 of POSIX 2008, all of these are in the correct reserved namespaces and do not need protection.
2011-02-20move the GNU siginfo renaming so it doesn't lead to mismatching namesRich Felker-1/+4
2011-02-20make sys/param.h not depend on PATH_MAX and NAME_MAXRich Felker-2/+2
this is a nonstandard header used only by backwards programs, but for some reason it's extremely popular. the recent namespace cleanup fixes broke it, because PATH_MAX and NAME_MAX will not be defined unless an approriate feature test macro has been defined. moreover, it's too late to just #define _GNU_SOURCE in param.h, since limits.h may have already been included. let's just hard-code standard values and be done with it.
2011-02-19fix typo in wordexp.h (note that the function is still unimplemented)Rich Felker-1/+1
2011-02-19add syscall wrappers for inotifyRich Felker-0/+55
2011-02-19prototype wait3 and wait4Rich Felker-3/+6
2011-02-19prototypes for brk and sbrkRich Felker-0/+2
2011-02-18support the ugly and deprecated ucontext and sigcontext header stuff...Rich Felker-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-18add pthread_atfork interfaceRich Felker-0/+2
note that this presently does not handle consistency of the libc's own global state during forking. as per POSIX 2008, if the parent process was threaded, the child process may only call async-signal-safe functions until one of the exec-family functions is called, so the current behavior is believed to be conformant even if non-ideal. it may be improved at some later time.
2011-02-17add portable lchown (trivial to support and a few ancient things want it..)Rich Felker-0/+3
2011-02-17reorganize pthread data structures and move the definitions to alltypes.hRich Felker-45/+26
this allows sys/types.h to provide the pthread types, as required by POSIX. this design also facilitates forcing ABI-compatible sizes in the arch-specific alltypes.h, while eliminating the need for developers changing the internals of the pthread types to poke around with arch-specific headers they may not be able to test.
2011-02-16ucontext is no longer in the standard, so use gnu-friendly struct nameRich Felker-2/+2
note that this header is still bogus and needs a lot of work and factoring into arch-dependent parts...
2011-02-16some gnu software wrongly uses "struct siginfo" instead of siginfo_t...Rich Felker-0/+1
2011-02-16add to pthread.h: pthread_mutex_timedlock and sched.h, time.hRich Felker-1/+3
2011-02-15move stdio stuff that's not arch-specific out of bitsRich Felker-1/+9
2011-02-15fix the types of some integer constant limits in headersRich Felker-1/+1
2011-02-15fix missing EXIT_* in stdlib.h after header cleanupRich Felker-3/+3
2011-02-15feature test support in unistd.hRich Felker-23/+27
2011-02-15prototype for gnu strcasestr (currently a stub)Rich Felker-0/+1
2011-02-15fix another error from header cleanup, missing size_t in time.hRich Felker-1/+1
2011-02-15fix broken signal.h from header cleanupRich Felker-2/+2
2011-02-15fix some type leakage (timer_t) from x86_64 commitRich Felker-1/+0
2011-02-15Port musl to x86-64. One giant commit!Nicholas J. Kain-0/+1
2011-02-15split off arch-specific stdarg.h stuffRich Felker-15/+1
2011-02-15preparing build system to handle ports - step 1Rich Felker-1497/+0
2011-02-14add previously-missing ios646.hv0.5.9Rich Felker-0/+20
2011-02-14more header cleanup and conformance fixes - string.hRich Felker-7/+12
2011-02-14more header cleanup and conformance fixes - locale.h, time.hRich Felker-35/+37
2011-02-14header cleanup, conformance fixes - signalsRich Felker-16/+30
2011-02-14update various bits headers for new linux additionsRich Felker-45/+147
based on patch by nik
2011-02-14more header fixes, minor warning fixRich Felker-4/+13
2011-02-14major bugfix for sigset_t (it was mistakenly 1024 bytes instead of bits)Rich Felker-2/+2
note that object files using sigset_t (or struct sigaction) need to be recompiled to work correctly after this fix.
2011-02-14extensive header cleanup for standards conformance & correctnessRich Felker-55/+63
thanks to Peter Mazinger (psm) for pointing many of these issues out and submitting a patch on which this commit is loosely based
2011-02-14begin namespace-cleanup of standard C headersRich Felker-70/+100
2011-02-13reorganize thread exit code, make pthread_exit call cancellation handlers (pt2)Rich Felker-1/+2
2011-02-13added missing O_NDELAYRich Felker-0/+1
2011-02-13fix omission that kept sa_restorer from being usedRich Felker-0/+1
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+11485