Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Some interesting additions to the history secti...
details: https://anonhg.NetBSD.org/src/rev/857665343546
branches: trunk
changeset: 753605:857665343546
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sat Apr 03 14:49:31 2010 +0000
description:
Some interesting additions to the history section. From OpenBSD.
diffstat:
lib/libc/gen/time.3 | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r ae980829ef57 -r 857665343546 lib/libc/gen/time.3
--- a/lib/libc/gen/time.3 Sat Apr 03 14:40:34 2010 +0000
+++ b/lib/libc/gen/time.3 Sat Apr 03 14:49:31 2010 +0000
@@ -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.
Home |
Main Index |
Thread Index |
Old Index