Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2026 10:35:17 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 68251761c77b - main - libc/ctime.3: timegm() is in C23.
Message-ID:  <6a05a565.3fb72.25821ac7@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/src/commit/?id=68251761c77b2f5ff927cf19bba7d4efa88799de

commit 68251761c77b2f5ff927cf19bba7d4efa88799de
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-05-14 10:24:30 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-05-14 10:34:40 +0000

    libc/ctime.3: timegm() is in C23.
    
    See also:       D53951, https://wiki.freebsd.org/C23
    MFC after:      1 week
---
 lib/libc/stdtime/ctime.3 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3
index 6384e8bd959b..e51cb5d52f94 100644
--- a/lib/libc/stdtime/ctime.3
+++ b/lib/libc/stdtime/ctime.3
@@ -27,7 +27,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd September 23, 2025
+.Dd May 14, 2026
 .Dt CTIME 3
 .Os
 .Sh NAME
@@ -354,8 +354,9 @@ table).
 .Pp
 The
 .Fn timegm
-function is not specified by any standard; its function cannot be
-completely emulated using the standard functions described above.
+function is expected to conform to
+.St -isoC-2023
+with the same constraint.
 .Sh HISTORY
 This manual page is derived from
 the time package contributed to Berkeley by


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a05a565.3fb72.25821ac7>