On Mon, 01 Dec 2008 17:17:13 +0200,
Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> On Mon, 1 Dec 2008 09:51:46 +0100, "Viktor Štujber" <[EMAIL PROTECTED]> wrote:
>> Hi. Half a year ago I started the following thread:
>> http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html.
>
>> 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
:
: Log:
:   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
:   MFC after:    1 week
:
: Modified:
:   head/lib/libc/gen/times.3

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.

Cheers,
Giorgos

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to