More clean-up of ERRORS after further communication with Gordon Jin.

This commit is contained in:
Michael Kerrisk 2005-04-06 12:59:19 +00:00
parent 6e01dc7e8d
commit 2a44706019
1 changed files with 10 additions and 4 deletions

View File

@ -26,7 +26,7 @@
.\" Slightly adapted, following comments by Hugh Dickins, aeb, 2001-06-04. .\" Slightly adapted, following comments by Hugh Dickins, aeb, 2001-06-04.
.\" Modified, 20 May 2003, Michael Kerrisk <mtk-manpages@gmx.net> .\" Modified, 20 May 2003, Michael Kerrisk <mtk-manpages@gmx.net>
.\" Modified, 30 Apr 2004, Michael Kerrisk <mtk-manpages@gmx.net> .\" Modified, 30 Apr 2004, Michael Kerrisk <mtk-manpages@gmx.net>
.\" 2005-04-05 mtk, Cleaned up description of EINVAL error, .\" 2005-04-05 mtk, Fixed error descriptions
.\" after message from <gordon.jin@intel.com> .\" after message from <gordon.jin@intel.com>
.\" .\"
.TH MINCORE 2 2004-04-30 "Linux 2.6.5" "Linux Programmer's Manual" .TH MINCORE 2 2004-04-30 "Linux 2.6.5" "Linux Programmer's Manual"
@ -86,13 +86,19 @@ points to an invalid address
.TP .TP
.B EINVAL .B EINVAL
.I start .I start
is not a multiple of the page size, or is not a multiple of the page size.
.TP
.B ENOMEM
.I len .I len
is greater than is greater than
.RI ( TASK_SIZE " - " start ). .RI ( TASK_SIZE " - " start ).
(The latter could occur if a negative value is specified for (This could occur if a negative value is specified for
.IR len , .IR len ,
since that value will be interpreted as a large unsigned integer.) since that value will be interpreted as a large
unsigned integer.)
In Linux 2.6.11 and earlier, the error
.B EINVAL
was returned for this condition.
.TP .TP
.B ENOMEM .B ENOMEM
.I address .I address