From 2a44706019b950ad94682e1b37250c717a208411 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 6 Apr 2005 12:59:19 +0000 Subject: [PATCH] More clean-up of ERRORS after further communication with Gordon Jin. --- man2/mincore.2 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/man2/mincore.2 b/man2/mincore.2 index 7c2e210e1..e7fb628f8 100644 --- a/man2/mincore.2 +++ b/man2/mincore.2 @@ -26,7 +26,7 @@ .\" Slightly adapted, following comments by Hugh Dickins, aeb, 2001-06-04. .\" Modified, 20 May 2003, Michael Kerrisk .\" Modified, 30 Apr 2004, Michael Kerrisk -.\" 2005-04-05 mtk, Cleaned up description of EINVAL error, +.\" 2005-04-05 mtk, Fixed error descriptions .\" after message from .\" .TH MINCORE 2 2004-04-30 "Linux 2.6.5" "Linux Programmer's Manual" @@ -86,13 +86,19 @@ points to an invalid address .TP .B EINVAL .I start -is not a multiple of the page size, or +is not a multiple of the page size. +.TP +.B ENOMEM .I len is greater than .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 , -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 .B ENOMEM .I address