linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wait.2: Add paragraph break before errno note in RETURN VALUE section.
@ 2014-09-24 15:55 Carlos O'Donell
       [not found] ` <5422E979.8030606-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos O'Donell @ 2014-09-24 15:55 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Michael Kerrisk

The text "Each of these calls sets errno to an appropriate
value in the case of an error." is not only for waitid.

This patch adds a paragraph break to move the errno note
to a new paragraph where it makes sense, as it applies to
all the wait* functions.

Tested against upstream master.

diff --git a/man2/wait.2 b/man2/wait.2
index 224055f..4d5fc77 100644
--- a/man2/wait.2
+++ b/man2/wait.2
@@ -378,6 +378,7 @@ on error, \-1 is returned.
 .\" returns the PID of the child.  Either this is a bug, or it is intended
 .\" behavior that needs to be documented.  See my Jan 2009 LKML mail
 .\" "waitid() return value strangeness when infop is NULL".
+.PP
 Each of these calls sets
 .I errno
 to an appropriate value in the case of an error.
---

Cheers,
Carlos.
--
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 related	[flat|nested] 2+ messages in thread

* Re: [PATCH] wait.2: Add paragraph break before errno note in RETURN VALUE section.
       [not found] ` <5422E979.8030606-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2014-09-25 10:20   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-09-25 10:20 UTC (permalink / raw)
  To: Carlos O'Donell,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w

On 09/24/2014 05:55 PM, Carlos O'Donell wrote:
> The text "Each of these calls sets errno to an appropriate
> value in the case of an error." is not only for waitid.
> 
> This patch adds a paragraph break to move the errno note
> to a new paragraph where it makes sense, as it applies to
> all the wait* functions.
> 
> Tested against upstream master.

Thanks, Carlos. Applied.

Cheers,

Michael



> diff --git a/man2/wait.2 b/man2/wait.2
> index 224055f..4d5fc77 100644
> --- a/man2/wait.2
> +++ b/man2/wait.2
> @@ -378,6 +378,7 @@ on error, \-1 is returned.
>  .\" returns the PID of the child.  Either this is a bug, or it is intended
>  .\" behavior that needs to be documented.  See my Jan 2009 LKML mail
>  .\" "waitid() return value strangeness when infop is NULL".
> +.PP
>  Each of these calls sets
>  .I errno
>  to an appropriate value in the case of an error.
> ---
> 
> Cheers,
> Carlos.
> 


-- 
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-09-25 10:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-24 15:55 [PATCH] wait.2: Add paragraph break before errno note in RETURN VALUE section Carlos O'Donell
     [not found] ` <5422E979.8030606-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-09-25 10:20   ` 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).