aboutsummaryrefslogtreecommitdiff
path: root/include/time.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* default features: make musl usable without feature test macros•••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. Rich Felker2012-09-071-5/+1
* use restrict everywhere it's required by c99 and/or posix 2008•••to deal with the fact that the public headers may be used with pre-c99 compilers, __restrict is used in place of restrict, and defined appropriately for any supported compiler. we also avoid the form [restrict] since older versions of gcc rejected it due to a bug in the original c99 standard, and instead use the form *restrict. Rich Felker2012-09-061-8/+14
* revert one change in time.h; no evidence BSD_SOURCE should expose these..Rich Felker2012-06-131-1/+1
* fix feature test macros in time.h•••stime is not _XOPEN_SOURCE, and some functions were missing with _BSD_SOURCE.. Rich Felker2012-06-131-5/+2
* add timegm function (inverse of gmtime), nonstandardRich Felker2012-06-131-0/+3
* support _BSD_SOURCE feature test macro•••patch by Isaac Dunham. matched closely (maybe not exact) to glibc's idea of what _BSD_SOURCE should make visible. Rich Felker2012-05-221-2/+4
* legacy junk compatibility grab-bag•••- add the rest of the junk traditionally in sys/param.h - add prototypes for some nonstandard functions - add _GNU_SOURCE to their source files so the compiler can check proto Rich Felker2012-04-181-0/+5
* more locale_t interfaces (string stuff) and header updates•••this should be everything except for some functions where the non-_l version isn't even implemented yet (mainly some non-ISO-C wcs* functions). Rich Felker2012-02-061-0/+3
* cleanup various minor issues reported by nsz•••the changes to syscall_ret are mostly no-ops in the generated code, just cleanup of type issues and removal of some implementation-defined behavior. the one exception is the change in the comparison value, which is fixed so that 0xf...f000 (which in principle could be a valid return value for mmap, although probably never in reality) is not treated as an error return. Rich Felker2011-09-261-1/+0
* fix various errors in function signatures/prototypes found by nszRich Felker2011-09-131-1/+1
* fix another error from header cleanup, missing size_t in time.hRich Felker2011-02-151-1/+1
* more header cleanup and conformance fixes - locale.h, time.hRich Felker2011-02-141-34/+35
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+113