aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/getloadavg.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-08-19 13:40:01 +0200
committerAlejandro Colomar <alx@kernel.org>2025-09-21 16:26:15 +0200
commitf17990c243eafc1891ff692f90b6ce42e6449be8 (patch)
tree62e0e0242db019d77d263bd60a99c7b47a697d1f /man/man3/getloadavg.3
parentdbc3270a88165851aa5e7ab5d1f99dc1acb9624d (diff)
downloadman-pages-f17990c243eafc1891ff692f90b6ce42e6449be8.tar.gz
man/: Use semantic newlines
And fix related issues while at it. Silence false positives with \&. Reported-by: `make lint-man-semnl` Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/getloadavg.3')
-rw-r--r--man/man3/getloadavg.34
1 files changed, 3 insertions, 1 deletions
diff --git a/man/man3/getloadavg.3 b/man/man3/getloadavg.3
index f10729ef8f..3b9eadf172 100644
--- a/man/man3/getloadavg.3
+++ b/man/man3/getloadavg.3
@@ -41,7 +41,9 @@ samples are retrieved and assigned to successive elements of
The system imposes a maximum of 3 samples, representing averages
over the last 1, 5, and 15 minutes, respectively.
.SH RETURN VALUE
-If the load average was unobtainable, \-1 is returned; otherwise,
+If the load average was unobtainable,
+\-1 is returned;
+otherwise,
the number of samples actually retrieved is returned.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see