From bbc069dd5ba0b5820659edd722511f0361171154 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 5 Dec 2016 08:12:03 +0100 Subject: [PATCH] getrlimit.2: Minor wording fix for RLIMIT_NICE Signed-off-by: Michael Kerrisk --- man2/getrlimit.2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index f6bf9c825..d121b9e36 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -296,11 +296,12 @@ The actual ceiling for the nice value is calculated as The useful range for this limit is thus from 1 (corresponding to a nice value of 19) to 40 (corresponding to a nice value of -20). -(This strangeness occurs because negative numbers cannot be specified +This unusual choice of range is was necessary +because negative numbers cannot be specified as resource limit values, since they typically have special meanings. For example, .B RLIM_INFINITY -typically is the same as \-1.) +typically is the same as \-1. .TP .B RLIMIT_NOFILE Specifies a value one greater than the maximum file descriptor number