bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* timegm: Document under ISO C and POSIX substitutes
@ 2023-03-16 13:19 Bruno Haible
  0 siblings, 0 replies; only message in thread
From: Bruno Haible @ 2023-03-16 13:19 UTC (permalink / raw)
  To: bug-gnulib

Now that ISO C 23 has added the 'timegm' function, it needs to be documented
in a different section of the Gnulib manual.


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.

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 @@
 * thrd_sleep::
 * thrd_yield::
 * time::
+* timegm::
 * timer_create::
 * timer_delete::
 * timer_getoverrun::
@@ -3627,6 +3628,7 @@
 @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 @@
 * getdate_r::
 * stime::
 * strptime_l::
-* timegm::
 * timelocal::
 * timespec_get::
 @end menu
@@ -6629,7 +6630,6 @@
 @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/glibc-functions/timegm.texi b/doc/posix-functions/timegm.texi
similarity index 95%
rename from doc/glibc-functions/timegm.texi
rename to doc/posix-functions/timegm.texi
index aeae4c97fa..9087d949a0 100644
--- a/doc/glibc-functions/timegm.texi
+++ b/doc/posix-functions/timegm.texi
@@ -1,5 +1,5 @@
 @node timegm
-@subsection @code{timegm}
+@section @code{timegm}
 @findex timegm
 
 Documentation:





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-16 13:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-16 13:19 timegm: Document under ISO C and POSIX substitutes Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).