aboutsummaryrefslogtreecommitdiff
path: root/include/sys/time.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* fix the prototype of settimeofday to follow the original BSD declarationSzabolcs Nagy2013-05-261-5/+5
* add obsolete futimesat()•••this function is obsolete, however it's available as a syscall and as such qemu userspace emulation tries to forward it to the host kernel. rofl0r2012-12-061-0/+1
* 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-2/+8
* 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/+3
* add legacy futimes and lutimes functions•••based on patch by sh4rm4. these functions are deprecated; futimens and utimensat should be used instead in new programs. Rich Felker2012-01-241-0/+2
* fix and cleanup suseconds_t/timeval stuff (broken on 64-bit)•••trash in the upper 32 bits was making the kernel sleep forever in select on 64-bit systems. Rich Felker2011-04-131-9/+0
* add legacy BSD-style timer*() macros in sys/time.hRich Felker2011-04-101-0/+10
* cleanup namespace in sys/time.hRich Felker2011-02-271-4/+5
* extensive header cleanup for standards conformance & correctness•••thanks to Peter Mazinger (psm) for pointing many of these issues out and submitting a patch on which this commit is loosely based Rich Felker2011-02-141-1/+1
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+49