err.3: clean up description of error message source
PATCH 1/1 err.3: clean up description of error message source
man-pages version: latest git repository
why:
In the second paragraph of DESCRIPTION section, one of the sources of error messages is incorrect: the four functions obtain error message only from errno, and "a code" is just relavant with errc() and warnc(), which are not present on Linux. see http://www.unix.com/man-page/freebsd/3/ERR/ .
Then, the third paragraph becomes a duplicate.
man3/err.3 +0 -0
@@ -83,7 +83,7 @@ and
.BR vwarn ()
functions append an error message obtained from
.BR strerror (3)
-based on a code or the global variable
+based on the global variable
.IR errno ,
preceded by another colon and space unless the
.I fmt
@@ -91,16 +91,6 @@ argument is
NULL.
.PP
The
-.BR err (),
-.BR verr (),
-.BR warn (),
-and
-.BR vwarn ()
-functions use the global variable
-.I errno
-to look up the error message.
-.PP
-The
.BR errx ()
and
.BR warnx ()
--
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]
Hello Seonghun,
2011/8/31 Seonghun Lim <[email protected]>:
Quoted 9 lines
man-pages version: latest git repository
why:
In the second paragraph of DESCRIPTION section, one of the sources of error messages is incorrect: the four functions obtain error message only from errno, and "a code" is just relavant witherrc()andwarnc(), which are not present on Linux. see http://www.unix.com/man-page/freebsd/3/ERR/ .Then, the third paragraph becomes a duplicate.
Thanks. Applied for 3.33.
Cheers,
Michael
Quoted 31 lines
man3/err.3 +0
-0@@ -83,7 +83,7 @@ and .BR vwarn ()functions append an error message obtained from
.BR strerror (3)man3/err.3 +1
-1-based on a code or the global variable +based on the global variable.IR errno ,
preceded by another colon and space unless the
.I fmtman3/err.3 +0
-0@@ -91,16 +91,6 @@ argument isNULL.
.PP
The
-.BR err (),
-.BR verr (),
-.BR warn (),man3/err.3 +0
-7-and -.BR vwarn () -functions use the global variable -.I errno -to look up the error message. -.PP -The.BR errx ()
and
.BR warnx ()
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- 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