Hash :
1314bf91
Author :
Date :
2023-03-17T18:53:43
time: Fix test failure on AIX 7.2. * m4/time.m4 (gl_FUNC_TIME): Guess that it does not work on AIX. * doc/posix-functions/time.texi: Mention the bug on AIX.
@node time
@section @code{time}
@findex time
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/time.html}
Gnulib module: time
Portability problems fixed by Gnulib:
@itemize
@item
This function is not consistent with @code{gettimeofday} and @code{timespec_get}
on some platforms:
@c https://sourceware.org/bugzilla/show_bug.cgi?id=30200
glibc 2.31 or newer on Linux, AIX 7.2, native Windows.
Namely, in the first 1 to 2.5 milliseconds of every second (or, on AIX and
Windows, in the first 5 milliseconds of every second), @code{time} returns
a value that is one less than the @code{tv_sec} part of the return value of
@code{gettimeofday} or @code{timespec_get}.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize