BZ #2636: Fix times return value, CLK_TCK descripts
Roland McGrath
roland@hack.frob.com
Tue Apr 10 17:19:00 GMT 2012
> * manual/time.texi (Processor Time): Return type of times () is
Don't use () like that in log entries or comments.
> elapsed real time since an arbitrary point in the past.
> (CPU Time): Move CLK_TCK from here...
> (Processor Time): ...to here. Correct description.
Two spaces between sentences.
> @@ -360,7 +360,8 @@ Inquire about the parameter corresponding to @code{_POSIX_VERSION}.
> @comment unistd.h
> @comment POSIX.1
> @item _SC_CLK_TCK
> -Inquire about the parameter corresponding to @code{CLOCKS_PER_SEC};
> +The number of clock tickets per second, the corresponding parameter is
> +obsolete, it was called @code{CLK_TCK};
> @pxref{CPU Time}.
Keep the form of all the other items: "Inquire about ...".
s/tickets/ticks/
i.e.
Inquire about the number of clock ticks per second; @pxref{CPU Time}.
The corresponding parameter @code{CLK_TCK} is obsolete.
> +@comment time.h
> +@comment POSIX.1
> +@deftypevr Macro int CLK_TCK
> +This is an obsolete name for the number of clock ticks per second, use
> +@code{sysconf (_SC_CLK_TCK)} instead.
> +@end deftypevr
Make it two sentences.
Thanks,
Roland
More information about the Libc-alpha
mailing list