linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] sigaction.2 - bad cross-reference
@ 2014-04-26 20:47 Alan Curry
       [not found] ` <201404262047.s3QKljjh003218-WF+c3Tt1nJM@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Curry @ 2014-04-26 20:47 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

The syscall that reports child CPU usage is times(2), not time(2)

--- a/man2/sigaction.2	2014-04-20 04:06:16.000000000 -0500
+++ b/man2/sigaction.2	2014-04-26 15:39:35.087503556 -0500
@@ -366,7 +366,7 @@
 these fields do not include the times used by waited-for children (unlike
 .BR getrusage (2)
 and
-.BR time (2)).
+.BR times (2)).
 In kernels up to 2.6, and since 2.6.27, these fields report
 CPU time in units of
 .IR sysconf(_SC_CLK_TCK) .

-- 
Alan Curry
--
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] sigaction.2 - bad cross-reference
       [not found] ` <201404262047.s3QKljjh003218-WF+c3Tt1nJM@public.gmane.org>
@ 2014-04-27  9:45   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-04-27  9:45 UTC (permalink / raw)
  To: Alan Curry
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 04/26/2014 10:47 PM, Alan Curry wrote:
> The syscall that reports child CPU usage is times(2), not time(2)
> 
> --- a/man2/sigaction.2	2014-04-20 04:06:16.000000000 -0500
> +++ b/man2/sigaction.2	2014-04-26 15:39:35.087503556 -0500
> @@ -366,7 +366,7 @@
>  these fields do not include the times used by waited-for children (unlike
>  .BR getrusage (2)
>  and
> -.BR time (2)).
> +.BR times (2)).
>  In kernels up to 2.6, and since 2.6.27, these fields report
>  CPU time in units of
>  .IR sysconf(_SC_CLK_TCK) .

Thanks, Alan. Applied.

Cheers,

Michael



-- 
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:[~2014-04-27  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-26 20:47 [patch] sigaction.2 - bad cross-reference Alan Curry
     [not found] ` <201404262047.s3QKljjh003218-WF+c3Tt1nJM@public.gmane.org>
2014-04-27  9:45   ` 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).