From e9aab1737b89f46d6119d5e1dd323854f4d053e8 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 30 Aug 2008 22:35:21 +0000 Subject: [PATCH] Document the ulimit -p option in the sh(1) manual page. When I imported the MPSAFE TTY code, I added the -p flag to sh(1)'s ulimit, but I forgot to document it in the appropriate manual page. Requested by: stefanf --- bin/sh/sh.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 426504f0d634..c18c19016a90 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -2118,7 +2118,7 @@ and not found. For aliases the alias expansion is printed; for commands and tracked aliases the complete pathname of the command is printed. -.It Ic ulimit Oo Fl HSabcdflmnstuv Oc Op Ar limit +.It Ic ulimit Oo Fl HSabcdflmnpstuv Oc Op Ar limit Set or display resource limits (see .Xr getrlimit 2 ) . If @@ -2172,6 +2172,8 @@ kilobytes. The maximal resident set size of a process, in kilobytes. .It Fl n Ar nofiles The maximal number of descriptors that could be opened by a process. +.It Fl p Ar pseudoterminals +The maximal number of pseudo-terminals for this user ID. .It Fl s Ar stacksize The maximal size of the stack segment, in kilobytes. .It Fl t Ar time