Skip to contentSkip to conversation

wait.2: Add paragraph break before errno note in RETURN VALUE section.

PATCH In review Carlos O'Donell 2 participants 2 messages Sep 24, 2014 – Sep 25, 2014 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wait.2: Add paragraph break before errno note in RETURN VALUE section.

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.

man2/wait.2 +1 -0
index 224055f..4d5fc77 100644
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 8 lines · Carlos O'Donell

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

Quoted 17 lines
man2/wait.2 +1 -1
index 224055f..4d5fc77 100644
@@ -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.

Signature · 7 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html