documentation problem for times(3) man page
keramida at ceid.upatras.gr
Mon Dec 1 07:31:18 PST 2008
On Mon, 01 Dec 2008 17:17:13 +0200,
Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> On Mon, 1 Dec 2008 09:51:46 +0100, "Viktor Štujber" <theultramage at gmail.com> wrote:
>> Hi. Half a year ago I started the following thread:
>> The subject was a documentation issue where a man page mismatched the
>> actual system behavior.
> You are right, there *is* a mismatch. The manpage seems to imply that
> times() returns the number of CLK_TCK's since the UNIX Epoch, but it
> returns the number of CLK_TCK's since the system _booted_ instead.
> I'll fix the manpage.
It should be fixed on 8.0-CURRENT now, after the following change:
: Author: keramida (doc committer)
: Date: Mon Dec 1 15:27:00 2008
: New Revision: 185519
: URL: http://svn.freebsd.org/changeset/base/185519
: 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 Štujber
: MFC after: 1 week
It may be too late to push this into 7.1-RELEASE, but I will try to
merge the change to the stable branches in a few days.
More information about the freebsd-questions