linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] times.2: an incorrect description in NOTES
@ 2016-02-26  4:34 Kondo, Naoya
  2016-02-26 15:38 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Kondo, Naoya @ 2016-02-26  4:34 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hi,

times(2) man page has an incorrect description in NOTES, it says that
(2^32/HZ) - 300 is about 429 million. It is correct only if HZ=10 which
does not look common today. So just removing "(i.e., about 429 million)"
is good enough.

----
Signed-off-by: Naoya Kondo <kondo-naoya-+CUm20s59erQFUHtdCDX3A@public.gmane.org>

--- man-pages-4.04/man2/times.2	2015-12-29 21:51:44.000000000 +0900
+++ man-pages-4.04-fix/man2/times.2	2016-02-25 12:04:33.062739815 +0900
@@ -168,7 +168,7 @@
 is measured has varied across kernel versions.
 On Linux 2.4 and earlier this point is the moment the system was booted.
 Since Linux 2.6, this point is \fI(2^32/HZ) \- 300\fP
-(i.e., about 429 million) seconds before system boot time.
+seconds before system boot time.
 This variability across kernel versions (and across UNIX implementations),
 combined with the fact that the returned value may overflow the range of
 .IR clock_t ,
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] times.2: an incorrect description in NOTES
  2016-02-26  4:34 [PATCH] times.2: an incorrect description in NOTES Kondo, Naoya
@ 2016-02-26 15:38 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2016-02-26 15:38 UTC (permalink / raw)
  To: Kondo, Naoya
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hello Naoya,

On 02/26/2016 05:34 AM, Kondo, Naoya wrote:
> Hi,
> 
> times(2) man page has an incorrect description in NOTES, it says that
> (2^32/HZ) - 300 is about 429 million. It is correct only if HZ=10 which
> does not look common today. So just removing "(i.e., about 429 million)"
> is good enough.

Thanks for the patch. I've applied it.

Cheers,

Michael

> ----
> Signed-off-by: Naoya Kondo <kondo-naoya-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
> 
> --- man-pages-4.04/man2/times.2	2015-12-29 21:51:44.000000000 +0900
> +++ man-pages-4.04-fix/man2/times.2	2016-02-25 12:04:33.062739815 +0900
> @@ -168,7 +168,7 @@
>  is measured has varied across kernel versions.
>  On Linux 2.4 and earlier this point is the moment the system was booted.
>  Since Linux 2.6, this point is \fI(2^32/HZ) \- 300\fP
> -(i.e., about 429 million) seconds before system boot time.
> +seconds before system boot time.
>  This variability across kernel versions (and across UNIX implementations),
>  combined with the fact that the returned value may overflow the range of
>  .IR clock_t ,
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-26 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-26  4:34 [PATCH] times.2: an incorrect description in NOTES Kondo, Naoya
2016-02-26 15:38 ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).