This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BZ #2636: Fix times return value, CLK_TCK descripts


> 	* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]