From: Bruno Haible Date: Thu, 16 Mar 2023 13:16:25 +0000 (+0100) Subject: timegm: Document under ISO C and POSIX substitutes. X-Git-Tag: v1.0~1641 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=4873f857dd32e7d145e285d72ffcc54fca54df31;p=gnulib.git timegm: Document under ISO C and POSIX substitutes. * doc/posix-functions/timegm.texi: Renamed from doc/glibc-functions/timegm.texi. * doc/gnulib.texi (Function Substitutes): Include timegm.texi here... (Glibc time.h): ... not here. --- diff --git a/ChangeLog b/ChangeLog index ec7c3aca2d..454b61bb67 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2023-03-16 Bruno Haible + + timegm: Document under ISO C and POSIX substitutes. + * doc/posix-functions/timegm.texi: Renamed from doc/glibc-functions/timegm.texi. + * doc/gnulib.texi (Function Substitutes): Include timegm.texi here... + (Glibc time.h): ... not here. + 2023-03-16 Bruno Haible stddef: Fix a compilation error on AIX 7.2 with xlclang. diff --git a/doc/glibc-functions/timegm.texi b/doc/glibc-functions/timegm.texi deleted file mode 100644 index aeae4c97fa..0000000000 --- a/doc/glibc-functions/timegm.texi +++ /dev/null @@ -1,29 +0,0 @@ -@node timegm -@subsection @code{timegm} -@findex timegm - -Documentation: -@itemize -@item -@ifinfo -@ref{Broken-down Time,,Broken-down Time,libc}, -@end ifinfo -@ifnotinfo -@url{https://www.gnu.org/software/libc/manual/html_node/Broken_002ddown-Time.html}, -@end ifnotinfo -@item -@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/timegm.3.html,,man timegm}. -@end itemize - -Gnulib module: timegm - -Portability problems fixed by Gnulib: -@itemize -@item -This function is missing on some platforms: -AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.3, mingw, MSVC 14, Android 3.0. -@end itemize - -Portability problems not fixed by Gnulib: -@itemize -@end itemize diff --git a/doc/gnulib.texi b/doc/gnulib.texi index 28d8c20d8c..12766b2d96 100644 --- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -2334,6 +2334,7 @@ problems are not worked around by Gnulib. * thrd_sleep:: * thrd_yield:: * time:: +* timegm:: * timer_create:: * timer_delete:: * timer_getoverrun:: @@ -3627,6 +3628,7 @@ problems are not worked around by Gnulib. @include posix-functions/thrd_sleep.texi @include posix-functions/thrd_yield.texi @include posix-functions/time.texi +@include posix-functions/timegm.texi @include posix-functions/timer_create.texi @include posix-functions/timer_delete.texi @include posix-functions/timer_getoverrun.texi @@ -6619,7 +6621,6 @@ This list of functions is sorted according to the header that declares them. * getdate_r:: * stime:: * strptime_l:: -* timegm:: * timelocal:: * timespec_get:: @end menu @@ -6629,7 +6630,6 @@ This list of functions is sorted according to the header that declares them. @include glibc-functions/getdate_r.texi @include glibc-functions/stime.texi @include glibc-functions/strptime_l.texi -@include glibc-functions/timegm.texi @include glibc-functions/timelocal.texi @include glibc-functions/timespec_get.texi diff --git a/doc/posix-functions/timegm.texi b/doc/posix-functions/timegm.texi new file mode 100644 index 0000000000..9087d949a0 --- /dev/null +++ b/doc/posix-functions/timegm.texi @@ -0,0 +1,29 @@ +@node timegm +@section @code{timegm} +@findex timegm + +Documentation: +@itemize +@item +@ifinfo +@ref{Broken-down Time,,Broken-down Time,libc}, +@end ifinfo +@ifnotinfo +@url{https://www.gnu.org/software/libc/manual/html_node/Broken_002ddown-Time.html}, +@end ifnotinfo +@item +@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/timegm.3.html,,man timegm}. +@end itemize + +Gnulib module: timegm + +Portability problems fixed by Gnulib: +@itemize +@item +This function is missing on some platforms: +AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.3, mingw, MSVC 14, Android 3.0. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@end itemize