diff options
author | Colin Watson <cjwatson@debian.org> | 2019-08-26 16:24:25 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-08-26 16:24:25 +0100 |
commit | 4022480a2cbcd303c5fcb3547dab2896ae1915a9 (patch) | |
tree | aa7f325ed783df7e253f8474df7121c6f1f85ea2 /gl/lib/gettimeofday.c | |
parent | 886374b96c0da5287b5a9eba5777cb2d9f0ea3d8 (diff) | |
parent | 1c9cb89a74a0e54309eff01adcac9775e8c0563a (diff) |
Import man-db_2.8.7.orig.tar.xz
Diffstat (limited to 'gl/lib/gettimeofday.c')
-rw-r--r-- | gl/lib/gettimeofday.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gl/lib/gettimeofday.c b/gl/lib/gettimeofday.c index 360cdc4d..e728bf47 100644 --- a/gl/lib/gettimeofday.c +++ b/gl/lib/gettimeofday.c @@ -72,10 +72,10 @@ gettimeofday (struct timeval *restrict tv, void *restrict tz) /* On native Windows, there are two ways to get the current time: GetSystemTimeAsFileTime - <https://msdn.microsoft.com/en-us/library/ms724397.aspx> + <https://docs.microsoft.com/en-us/windows/desktop/api/sysinfoapi/nf-sysinfoapi-getsystemtimeasfiletime> or GetSystemTimePreciseAsFileTime - <https://msdn.microsoft.com/en-us/library/hh706895.aspx>. + <https://docs.microsoft.com/en-us/windows/desktop/api/sysinfoapi/nf-sysinfoapi-getsystemtimepreciseasfiletime>. GetSystemTimeAsFileTime produces values that jump by increments of 15.627 milliseconds (!) on average. Whereas GetSystemTimePreciseAsFileTime values usually jump by 1 or 2 @@ -92,7 +92,7 @@ gettimeofday (struct timeval *restrict tv, void *restrict tz) GetSystemTimeAsFileTime (¤t_time); /* Convert from FILETIME to 'struct timeval'. */ - /* FILETIME: <https://msdn.microsoft.com/en-us/library/ms724284.aspx> */ + /* FILETIME: <https://docs.microsoft.com/en-us/windows/desktop/api/minwinbase/ns-minwinbase-filetime> */ ULONGLONG since_1601 = ((ULONGLONG) current_time.dwHighDateTime << 32) | (ULONGLONG) current_time.dwLowDateTime; |