aboutsummaryrefslogtreecommitdiff
path: root/include/sys/sysmacros.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-05-05 14:51:25 -0400
committerRich Felker <dalias@aerifal.cx>2013-05-05 14:51:25 -0400
commitda49b872f5ef56026713855b66783c8e32570c4b (patch)
tree16d4784da229a4c9f39a84d999e806783ff9cd24 /include/sys/sysmacros.h
parentdo not interpret errors in return value of times() syscall (diff)
downloadgrovel-da49b872f5ef56026713855b66783c8e32570c4b.tar.gz
grovel-da49b872f5ef56026713855b66783c8e32570c4b.tar.xz
fix incorrect clock tick scaling in fallback case of clock()
since CLOCKS_PER_SEC is 1000000 (required by XSI) and the times syscall reports values in 1/100 second units (Linux), the correct scaling factor is 10000, not 100. note that only ancient kernels which lack clock_gettime are affected.
Diffstat (limited to 'include/sys/sysmacros.h')
0 files changed, 0 insertions, 0 deletions