diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-04-05 17:01:47 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-04-05 17:01:47 +0000 |
commit | 6e01dc7e8d4ea0cea8e6546680932f6cd83c5025 (patch) | |
tree | f7da1348bd35cb7d9f131492d606a969e7081179 /man2/mincore.2 | |
parent | 7257eeb80eb1042456307522cc5fd021edac6a5a (diff) |
Fixed EINVAL description after mesage from
"Jin, Gordon" <gordon.jin@intel.com>
Diffstat (limited to 'man2/mincore.2')
-rw-r--r-- | man2/mincore.2 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/man2/mincore.2 b/man2/mincore.2 index ebc9c0b8..7c2e210e 100644 --- a/man2/mincore.2 +++ b/man2/mincore.2 @@ -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 |