diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-07-27 17:48:32 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-07-27 17:48:32 -0400 |
commit | 2c2c3605d3b3ff32902c406d17ac44e7544be4e2 (patch) | |
tree | b1c46673ab96ca3a5b1b8bff042dfa0e24ddffba /include/lastlog.h | |
parent | 4bbd7baea7c8538b3fb8e30f7b022a1eee071450 (diff) | |
download | musl-2c2c3605d3b3ff32902c406d17ac44e7544be4e2.tar.gz musl-2c2c3605d3b3ff32902c406d17ac44e7544be4e2.tar.xz musl-2c2c3605d3b3ff32902c406d17ac44e7544be4e2.zip |
implement settimeofday in terms of clock_settime, not old syscall
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.
Diffstat (limited to 'include/lastlog.h')
0 files changed, 0 insertions, 0 deletions