Module Name: src
Committed By: jruoho
Date: Sat Apr 3 14:49:31 UTC 2010
Modified Files:
src/lib/libc/gen: time.3
Log Message:
Some interesting additions to the history section. From OpenBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gen/time.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/time.3
diff -u src/lib/libc/gen/time.3:1.13 src/lib/libc/gen/time.3:1.14
--- src/lib/libc/gen/time.3:1.13 Thu Aug 7 16:42:58 2003
+++ src/lib/libc/gen/time.3 Sat Apr 3 14:49:31 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: time.3,v 1.13 2003/08/07 16:42:58 agc Exp $
+.\" $NetBSD: time.3,v 1.14 2010/04/03 14:49:31 jruoho Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)time.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd June 4, 1993
+.Dd April 3, 2010
.Dt TIME 3
.Os
.Sh NAME
@@ -90,4 +90,11 @@
A
.Fn time
function appeared in
-.At v6 .
+.At v2
+and used to return time in sixtieths of a second in 32 bits,
+which was to guarantee a crisis every 2.26 years.
+Since
+.At v6 ,
+.Fn time
+scale was changed to seconds, extending the pre-crisis stagnation
+period up to a total of 68 years.