summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdtime/ctime.310
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3
index 89d06ed..ae5c6a1 100644
--- a/lib/libc/stdtime/ctime.3
+++ b/lib/libc/stdtime/ctime.3
@@ -175,7 +175,7 @@ The functions
.Fn mktime
and
.Fn timegm
-converts the broken-down time in the structure
+convert the broken-down time in the structure
pointed to by tm into a time value with the same encoding as that of the
values returned by the
.Xr time 3
@@ -303,10 +303,16 @@ functions are expected to conform to
.St -iso9945-1
(again provided the selected local timezone does not contain a leap-second
table).
+.Pp
+The
+.Fn timegm
+function is not specified by any standard; its function cannot be
+completely emulated using the standard functions described above.
.Sh HISTORY
This manual page is derived from
the time package contributed to Berkeley by
-Arthur Olsen and which appeared in
+.An Arthur Olson
+and which appeared in
.Bx 4.3 .
.Sh BUGS
Except for
OpenPOWER on IntegriCloud