]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/getrusage.2: Use correct unit (KiB) for .ru_maxrss
authorAlex Yang <himself65@outlook.com>
Mon, 18 Aug 2025 07:59:05 +0000 (00:59 -0700)
committerAlejandro Colomar <alx@kernel.org>
Tue, 19 Aug 2025 11:10:14 +0000 (13:10 +0200)
The .ru_maxrss member was documented as using "kilobytes" as its unit.
However, the value is actually in multiples of 1024 bytes, which is
correctly referred to as "kibibytes" (KiB) according to the IEC
standard.

Message-ID: <20250818075905.40146-1-himself65@outlook.com>
Cc: Collin Funk <collin.funk1@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/getrusage.2

index 34e81f54000d32b55538297d0aba3bc3ad8e2aab..a1b30e5b5a87b5ee34e92a456b1796fe81f356d2 100644 (file)
@@ -88,7 +88,7 @@ expressed in a
 structure (seconds plus microseconds).
 .TP
 .IR ru_maxrss " (since Linux 2.6.32)"
-This is the maximum resident set size used (in kilobytes).
+This is the maximum resident set size used (in KiB).
 For
 .BR RUSAGE_CHILDREN ,
 this is the resident set size of the largest child, not the maximum