summaryrefslogtreecommitdiff
path: root/include/sys/sem.h
AgeCommit message (Collapse)AuthorLines
2013-06-28work around wrong kernel type for sem_nsems member of struct semid_dsRich Felker-1/+9
rejecting invalid values for n is fine even in the case where a new sem will not be created, since the kernel does its range checks on n even in this case as well. by default, the kernel will bound the limit well below USHRT_MAX anyway, but it's presumably possible that an administrator could override this limit and break things.
2012-09-07default features: make musl usable without feature test macrosRich Felker-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-08-24type exposure fixes in sys/sem.hRich Felker-2/+5
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+69