about summary refs log tree commit diff
path: root/include/limits.h
Commit message (Collapse)AuthorAgeFilesLines
* fix missing limits when only _BSD_SOURCE is definedRich Felker2012-11-261-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.
* default features: make musl usable without feature test macrosRich Felker2012-09-071-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.
* missing limit LOGIN_NAME_MAXRich Felker2012-05-141-0/+1
|
* limits.h: support gcc's -funsigned-charRich Felker2012-03-201-2/+10
| | | | | some software apparently uses this and breaks with musl due to mismatching definitions...
* move all limits that don't vary out of bits/limits.h, into main limits.hRich Felker2011-06-251-0/+22
|
* define MQ_PRIO_MAXRich Felker2011-06-071-0/+1
|
* implement POSIX timersRich Felker2011-03-291-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.
* fix sem_open and sem_close to obey posix semanticsRich Felker2011-03-101-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.
* preliminaries to adding POSIX semaphoresRich Felker2011-03-031-0/+1
|
* extensive header cleanup for standards conformance & correctnessRich Felker2011-02-141-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
* begin namespace-cleanup of standard C headersRich Felker2011-02-141-1/+7
|
* reorganize thread exit code, make pthread_exit call cancellation handlers (pt2)Rich Felker2011-02-131-1/+2
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+101