Fixed EINVAL description after mesage from

"Jin, Gordon" <gordon.jin@intel.com>
This commit is contained in:
Michael Kerrisk 2005-04-05 17:01:47 +00:00
parent 7257eeb80e
commit 6e01dc7e8d
1 changed files with 9 additions and 3 deletions

View File

@ -26,6 +26,8 @@
.\" 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,
.\" 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"
.SH NAME .SH NAME
@ -86,7 +88,11 @@ points to an invalid address
.I start .I start
is not a multiple of the page size, or is not a multiple of the page size, or
.I len .I len
has a non-positive value is greater than
.RI ( TASK_SIZE " - " start ).
(The latter could occur if a negative value is specified for
.IR len ,
since that value will be interpreted as a large unsigned integer.)
.TP .TP
.B ENOMEM .B ENOMEM
.I address .I address
@ -95,7 +101,6 @@ to
+ +
.I length .I length
contained unmapped memory, or memory not part of a file. contained unmapped memory, or memory not part of a file.
.SH BUGS .SH BUGS
Up to now (Linux 2.6.5), Up to now (Linux 2.6.5),
.B mincore .B mincore
@ -118,7 +123,8 @@ does not return correct information for MAP_PRIVATE mappings.
.\" .BR ENOMEM . .\" .BR ENOMEM .
.SH "CONFORMING TO" .SH "CONFORMING TO"
.B mincore .B mincore
does not appear to be part of POSIX or the Single Unix Specification. is not specified in POSIX.1-2001,
and it is not available on all Unix implementations.
.SH HISTORY .SH HISTORY
The mincore() function first appeared in 4.4BSD. The mincore() function first appeared in 4.4BSD.
.SH AVAILABILITY .SH AVAILABILITY