Hash :
c36a0f21
Author :
Date :
2024-10-27T17:01:29
doc: Add a module index. * doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
@node time
@subsection @code{time}
@findex time
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/time.html}
Gnulib module: time
@mindex 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,
@c Only seen on machines with 2 or more CPUs.
FreeBSD 14.0,
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