need confirmation of documentation problem for times(3)

Viktor Štujber viktor.stujber at
Wed Apr 2 18:03:47 UTC 2008

I have been forwarded to this list from a docs bugreport
and I am looking for confirmation of this issue.

> The freebsd manpages for 'clock_t times(struct tms *tp)' say the following:
> The times() function returns the value of time in CLK_TCK's of a second since
> 0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated Universal Time.
> But after letting a sample C program print the returned value, it matches
> the system's uptime (in clock ticks).
> I would like to ask the bsd devs to clarify whether this is
> a documentation problem, or an implementation problem.

More information about the freebsd-questions mailing list