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.
.\" Modified, 20 May 2003, 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"
.SH NAME
@ -86,7 +88,11 @@ points to an invalid address
.I start
is not a multiple of the page size, or
.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
.B ENOMEM
.I address
@ -95,7 +101,6 @@ to
+
.I length
contained unmapped memory, or memory not part of a file.
.SH BUGS
Up to now (Linux 2.6.5),
.B mincore
@ -118,7 +123,8 @@ does not return correct information for MAP_PRIVATE mappings.
.\" .BR ENOMEM .
.SH "CONFORMING TO"
.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
The mincore() function first appeared in 4.4BSD.
.SH AVAILABILITY