summaryrefslogtreecommitdiff
path: root/include/limits.h
AgeCommit message (Collapse)AuthorFilesLines
2012-11-26fix missing limits when only _BSD_SOURCE is definedRich Felker1-1/+1
the missing check did not affect the default profile, since it has both _XOPEN_SOURCE and _BSD_SOURCE defined, but it did break programs which explicitly define _BSD_SOURCE, causing it to be the only feature test macro present.
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.
2012-05-14missing limit LOGIN_NAME_MAXRich Felker1-0/+1
2012-03-20limits.h: support gcc's -funsigned-charRich Felker1-2/+10
some software apparently uses this and breaks with musl due to mismatching definitions...
2011-06-25move all limits that don't vary out of bits/limits.h, into main limits.hRich Felker1-0/+22
2011-06-07define MQ_PRIO_MAXRich Felker1-0/+1
2011-03-29implement POSIX timersRich Felker1-0/+1
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.
2011-03-10fix sem_open and sem_close to obey posix semanticsRich Felker1-0/+1
multiple opens of the same named semaphore must return the same pointer, and only the last close can unmap it. thus the ugly global state keeping track of mappings. the maximum number of distinct named semaphores that can be opened is limited sufficiently small that the linear searches take trivial time, especially compared to the syscall overhead of these functions.
2011-03-03preliminaries to adding POSIX semaphoresRich Felker1-0/+1
2011-02-14extensive header cleanup for standards conformance & correctnessRich Felker1-2/+3
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 Felker1-1/+7
2011-02-13reorganize thread exit code, make pthread_exit call cancellation handlers (pt2)Rich Felker1-1/+2
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+101