]> Savannah Git Hosting - gnulib.git/commitdiff
timegm: Document under ISO C and POSIX substitutes.
authorBruno Haible <bruno@clisp.org>
Thu, 16 Mar 2023 13:16:25 +0000 (14:16 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 16 Mar 2023 13:16:25 +0000 (14:16 +0100)
* 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.

ChangeLog
doc/glibc-functions/timegm.texi [deleted file]
doc/gnulib.texi
doc/posix-functions/timegm.texi [new file with mode: 0644]

index ec7c3aca2d70ba9339b68508f48a2bc4d9a64900..454b61bb6764cd3f004f512644929a5aa18b698c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-03-16  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        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 (file)
index aeae4c9..0000000
+++ /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
index 28d8c20d8cf2f6fe413b5969233fffc729fdc749..12766b2d962296b05b233652e8b8c32117d6d72c 100644 (file)
@@ -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 (file)
index 0000000..9087d94
--- /dev/null
@@ -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