summaryrefslogtreecommitdiff
path: root/src/linux/settimeofday.c
AgeCommit message (Collapse)Author
2019-07-27implement settimeofday in terms of clock_settime, not old syscallRich Felker
this is yet another place where special handling of time syscalls can and should be avoided by implementing legacy functions in terms of their modern replacements. in theory a fallback to SYS_settimeofday could be added to clock_settime, but SYS_clock_settime has been available since Linux 2.6.0 or earlier, i.e. all the way back to the minimum supported version.
2013-05-26fix the prototype of settimeofday to follow the original BSD declarationSzabolcs Nagy
2011-03-20global cleanup to use the new syscall interfaceRich Felker
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker