Hello Linus,
On Thu, Aug 19, 2010 at 3:22 AM, Linus Nilsson [off-list ref] wrote:
This patch changes perror to strerror, as strerror is the one that takes an
error code.
The patch also adds a \fP after the underlining of "errnum", so the text
following it is no longer underlined.
Thanks. Applied for man-pages-3.26.
Cheers,
Michael
quoted hunk
The patch applies to current git.
--- a/man3/error.3
+++ b/man3/error.3
@@ -55,7 +55,7 @@ the program name, a colon and a space, the message
specified by the
.BR printf (3)-style
format string \fIformat\fP, and, if \fIerrnum\fP is
nonzero, a second colon and a space followed by the string given by
-\fBperror(\fIerrnum\fB)\fP.
+\fBstrerror(\fP\fIerrnum\fP\fB)\fP.
Any arguments required for
.I format
should follow
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface" http://blog.man7.org/
--
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