Commit Graph

20 Commits

Author SHA1 Message Date
wiz e2f11738e5 renice: Make usage match man page more. 2020-10-23 16:16:10 +00:00
dholland 9c50e0e0b5 Fix usage check; reject renice without any targets, whether or not -n given. 2020-10-22 19:34:12 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
christos fbec9f21a4 - Exit with non-zero on errors (from Liam Foy)
- Pass lint.
2005-10-09 18:23:52 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
fvdl 0933c426af Don't pass NULL as an integer argument. 2003-10-21 02:24:08 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
lukem ef83aa34d9 clear errno before strto(u)l() if we're going to test it for ERANGE afterwards 2003-04-18 03:21:00 +00:00
simonb 504907b03b Don't need <sys/types.h> either (ref: SUSv2). 2001-09-01 01:59:42 +00:00
simonb 134164f42c Little cleanup:
- Don't need to include <sys/time.h>, <sys/resource.h> does.
 - Include <limits.h> for LONG_MIN/LONG_MAX.
 - Be consistant with usage of (void) in front of printf()/fprintf().
 - Sort include files.
 - ANSIfy.
2001-09-01 01:57:28 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
kleink bef45d1b7d Deal with a current priority of -1; from Takahiro Kambe in PR bin/10227. 2000-08-23 07:01:58 +00:00
matt fcd0fb118f Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
christos 9126a73f7f Overhaul...
- check numeric arguments properly.
- fix usage.
- add -n increment option.
1998-12-19 21:07:12 +00:00
lukem 3859d5b356 WARNSify, fix .Nm usage, deprecate register, use warn 1997-10-19 14:01:33 +00:00
tls 5445d0188b Sync to 4.4BSD-Lite2 1997-01-09 14:39:10 +00:00
pk 8ba2ec6a06 Include <sys/types.h> (needed in future because of <sys/resource.h>) 1993-12-02 19:52:01 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00