summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2026-05-14 10:24:30 +0000
committerColin Percival <cperciva@FreeBSD.org>2026-05-21 21:21:09 +0000
commitae2840e094edcf8c4ca86b893e704cd7380f8a85 (patch)
tree370f0f21653c216e6c4ec10e764af2405baed502
parent78de09e1412e2e720a2391457f65717248bad4f4 (diff)
libc/ctime.3: timegm() is in C23.
Approved by: re (cperciva) See also: D53951, https://wiki.freebsd.org/C23 MFC after: 1 week (cherry picked from commit 68251761c77b2f5ff927cf19bba7d4efa88799de) (cherry picked from commit e4bca1be11c5edad947d50ce86388bba73489f89)
-rw-r--r--lib/libc/stdtime/ctime.37
1 files 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