summaryrefslogtreecommitdiff
path: root/lib/libc/stdtime
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-06-23 08:57:40 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-06-23 08:57:40 +0000
commit10ae6ece368d1c0e3782cfa596b1741dabb2bfe1 (patch)
treed093019c1aacd1ae363dad50ad0bcb5959d5d419 /lib/libc/stdtime
parentb7494481a0f07e82641f70974d6e3721165f3723 (diff)
Notes
Diffstat (limited to 'lib/libc/stdtime')
-rw-r--r--lib/libc/stdtime/ctime.313
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3
index 989db255f54e..94f0622515fd 100644
--- a/lib/libc/stdtime/ctime.3
+++ b/lib/libc/stdtime/ctime.3
@@ -196,7 +196,18 @@ The original values of the
and
.Fa tm_yday
components of the structure are ignored, and the original values of the
-other components are not restricted to their normal ranges.
+other components are not restricted to their normal ranges, and will be
+normalized if needed.
+For example,
+October 40 is changed into November 9,
+a
+.Fa tm_hour
+of \-1 means 1 hour before midnight,
+.Fa tm_mday
+of 0 means the day preceding the current month, and
+.Fa tm_mon
+of \-2 means 2 months before January of
+.Fa tm_year .
(A positive or zero value for
.Fa tm_isdst
causes