This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: BZ #2636: Fix times return value, CLK_TCK descripts
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Andreas Jaeger <aj at suse dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Tue, 10 Apr 2012 10:19:26 -0700 (PDT)
- Subject: Re: BZ #2636: Fix times return value, CLK_TCK descripts
- References: <4F818786.5090708@suse.com>
> * 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