Commit Graph

14 Commits

Author SHA1 Message Date
Colin Percival
0993d1af06 Use the accepted abbreviation "kB" for kilobyte, rather than "kb" (which
is the common unit for a kilobit).
2004-12-19 13:29:25 +00:00
Brian Feldman
873caac499 Update the usage string in the limits(1) manpage to include -b for
sbsize. Also, correct the format string in getopt(3) usage to reflect
that -b takes an argument, and correct another case of RLIMIT_SBSIZE
having been forgotten.
2002-09-18 16:25:59 +00:00
David E. O'Brien
e026a48c34 Consistently use FBSDID 2002-06-30 05:25:07 +00:00
Matthew Dillon
552116c927 Make limits(1) aware of the new vmemoryuse resource limit.
Submitted by:	sheldonh
2002-06-26 03:43:25 +00:00
David Malone
3cd2a58926 Warns cleanups:
1) Add missing initialisers.
2) Avoid shadowing rcswhich.
3) Use intmax_t and %j for printing rather than quad_t and %q.
4) Don't modify a variable twice between sequence points.
2002-04-13 21:28:17 +00:00
Sheldon Hearn
0a39318247 Handle sbsize as a size, not a number.
Submitted by:	Paul Herman <pherman@frenchfries.net>
2001-05-10 17:15:06 +00:00
Philippe Charnier
c097456602 Properly use .Nm, .Em, .Pa etc. Make usage() a simplier function. 2000-03-26 14:37:47 +00:00
Brian Feldman
6b3ced11a2 This implements the RLIMIT_SBSIZE ("sbsize") administrative limits for
userland.  Currently, it can be enforced by login and csh.  More
shells supporting sbsize are welcome.
1999-10-09 20:47:59 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Philippe Charnier
78cad0814f Cosmetic in usage string. Typos in man page. 1997-07-21 12:06:18 +00:00
David Nugent
f56bc51b0f login_getclass() -> login_getpwclass().
Updated (incorrect) entry for bash [-v].
Remove unused support for long rlim_t.
Added "bash2" to bash style ulimit handling.
1997-05-10 19:00:58 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
David Nugent
c03293e593 limits(1): set and display process resources. 1997-01-21 15:05:15 +00:00