diff mbox series

man: Document the value unlimited for ulimit

Message ID ZknFW6bdlYsSi_Nc@gondor.apana.org.au (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series man: Document the value unlimited for ulimit | expand

Commit Message

Herbert Xu May 19, 2024, 9:24 a.m. UTC
Add a reference to the unlimited value for ulimit in the manual.

Reported-by: Martin Guy <martinwguy@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
diff mbox series

Patch

diff --git a/src/dash.1 b/src/dash.1
index ff02237..b52a4ad 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -2180,8 +2180,13 @@  show or set the limit on the real-time scheduling priority of a process
 .Pp
 If none of these is specified, it is the limit on file size that is shown
 or set.
-If value is specified, the limit is set to that number; otherwise
-the current limit is displayed.
+If
+.Ar value
+is specified, the limit is set to that number; otherwise
+the current limit is displayed.  The special
+.Ar value
+.Cm unlimited
+represents the lack of any limit.
 .Pp
 Limits of an arbitrary process can be displayed or set using the
 .Xr sysctl 8