Re: [patch] error.3: change perror(errnum) to strerror(errnum) in description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Linus,

On Thu, Aug 19, 2010 at 3:22 AM, Linus Nilsson <lajnold@xxxxxxxxx> 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

> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux