aboutsummaryrefslogtreecommitdiff
path: root/src/time/clock_getres.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* clock_getres: don't assume time_t is 32-bit on 32-bit archs•••the time64 syscall for this is not necessary or useful, since clock resolution is generally better than 68-year granularity. if there's a 32-bit syscall, use it and expand the result into timespec; otherwise there is only one syscall and it does the right thing to store to timespec directly. on 64-bit archs, there is no change to the code after preprocessing. Rich Felker2019-07-291-0/+14
* global cleanup to use the new syscall interfaceRich Felker2011-03-201-1/+1
* fix errno behavior in clock_* functions•••these functions are specified inconsistent in whether they're specified to return an error value, or return -1 and set errno. hopefully now they all match what POSIX requires. Rich Felker2011-03-101-1/+0
* implement the remaining clock_* interfacesRich Felker2011-02-191-0/+8