summaryrefslogtreecommitdiff
path: root/src/time
AgeCommit message (Collapse)AuthorFilesLines
2011-03-19syscall overhaul part two - unify public and internal syscall interfaceRich Felker3-6/+3
with this patch, the syscallN() functions are no longer needed; a variadic syscall() macro allows syscalls with anywhere from 0 to 6 arguments to be made with a single macro name. also, manually casting each non-integer argument with (long) is no longer necessary; the casts are hidden in the macros. some source files which depended on being able to define the old macro SYSCALL_RETURNS_ERRNO have been modified to directly use __syscall() instead of syscall(). references to SYSCALL_SIGSET_SIZE and SYSCALL_LL have also been changed. x86_64 has not been tested, and may need a follow-up commit to fix any minor bugs/oversights.
2011-03-12misplaced & in times() made it fail to work, and clobber the stackRich Felker1-1/+1
2011-03-10more cancellation points: tcdrain, clock_nanosleepRich Felker1-1/+6
2011-03-10fix errno behavior in clock_* functionsRich Felker3-3/+0
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.
2011-02-19implement the remaining clock_* interfacesRich Felker5-0/+36
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker25-0/+874