Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 2008 14:50:46 +0000 (UTC)
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org
Subject:   svn commit: r185712 - in stable/6/lib/libc: . gen sys
Message-ID:  <200812061450.mB6Eoknr097722@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: keramida (doc committer)
Date: Sat Dec  6 14:50:46 2008
New Revision: 185712
URL: http://svn.freebsd.org/changeset/base/185712

Log:
  MFC: r185519
  
  The times(3) function returns the number of CLK_TCKs since the
  startup time of FreeBSD, not since the UNIX Epoch.
  
  PR:           docs/122359
  Submitted by: Viktor &#352;tujber

Modified:
  stable/6/lib/libc/   (props changed)
  stable/6/lib/libc/gen/times.3
  stable/6/lib/libc/sys/   (props changed)

Modified: stable/6/lib/libc/gen/times.3
==============================================================================
--- stable/6/lib/libc/gen/times.3	Sat Dec  6 14:45:03 2008	(r185711)
+++ stable/6/lib/libc/gen/times.3	Sat Dec  6 14:50:46 2008	(r185712)
@@ -32,7 +32,7 @@
 .\"     @(#)times.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd December 1, 2008
 .Dt TIMES 3
 .Os
 .Sh NAME
@@ -56,9 +56,13 @@ The
 .Fn times
 function returns the value of time in
 .Dv CLK_TCK Ns 's
-of a second since
-0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated Universal
-Time.
+of a second since the system startup time.
+The current value of
+.Dv CLK_TCK ,
+the frequency of the statistics clock in ticks per second, may be
+obtained through the
+.Xr sysconf 3
+interface.
 .Pp
 It also fills in the structure pointed to by
 .Fa tp
@@ -135,6 +139,7 @@ and
 .Xr getrusage 2 ,
 .Xr gettimeofday 2 ,
 .Xr wait 2 ,
+.Xr sysconf 3 ,
 .Xr clocks 7
 .Sh STANDARDS
 The



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812061450.mB6Eoknr097722>