Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143119096
D36515.id110590.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
764 B
Referenced Files
None
Subscribers
None
D36515.id110590.diff
View Options
diff --git a/contrib/tzcode/stdtime/ctime.3 b/contrib/tzcode/stdtime/ctime.3
--- a/contrib/tzcode/stdtime/ctime.3
+++ b/contrib/tzcode/stdtime/ctime.3
@@ -30,7 +30,7 @@
.\" From: @(#)ctime.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd March 4, 2022
+.Dd September 15, 2022
.Dt CTIME 3
.Os
.Sh NAME
@@ -94,6 +94,13 @@
(described below) which contains
the broken-out time information for the value after adjusting for the current
time zone (and any other factors such as Daylight Saving Time).
+When the passed in time translates to a year that will not fit in an
+.Dv int
+for architectures that define
+.Dv int
+to be int32_t,
+.Fn localtime
+returns NULL.
Time zone adjustments are performed as specified by the
.Ev TZ
environment variable (see
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 27, 5:27 AM (17 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28051001
Default Alt Text
D36515.id110590.diff (764 B)
Attached To
Mode
D36515: ctime.3: Add a note about a possible return value to the description of localtime(3)
Attached
Detach File
Event Timeline
Log In to Comment