Commit Graph

22 Commits

Author SHA1 Message Date
christos d656290c5d PR/45592: Greg A. Woods: changes to get time(1) to use CLOCK_MONOTONIC 2011-11-09 19:10:10 +00:00
plunky 9f61b80465 NULL does not need a cast 2011-08-31 16:24:54 +00:00
christos d99091ea8b use strpct from libutil. 2011-08-28 08:24:42 +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
matt d6dd160750 Make -p, -l, and -c exclusive (any one turns off the other two). 2007-02-26 21:56:17 +00:00
matt 902dda5b53 Add '-c' option for csh-style time output. Use the csh time format code
to print the new csh-style time output.
2007-02-24 21:30:27 +00:00
christos 471243e4da volatile fixes, from Anon Ymous 2006-12-18 15:17:38 +00:00
simonb 7dbaeb74a5 Sprinkle some KNF. 2005-10-27 01:43:48 +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
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
christos 5c7b6b0606 modernize:
- use wait4
	- KNF
	- factor out common printf code
	- use err/warn
	- use getprogname
2002-07-16 15:41:57 +00:00
kleink 04a965c2d7 * Require an `utility' argument to be specified and fail otherwise.
* I18n of decimal point used in time formatting.
* Don't hardcode an assumption of 100 clock ticks per second.
* Various minor cleanups.
1999-06-05 19:19:19 +00:00
wsanchez eca3ac5bf3 Silence -Wall by casting to (long) in printf formats. 1998-10-14 00:57:40 +00:00
lukem f448bbbefe WARNSify, deprecate register, getopt returns -1, fix .Nm usage 1997-10-20 03:28:20 +00:00
thorpej 338c8b475e Exit with an error condition if the timed command does not exit.
From Arne H. Juul <Arne.Juul@idt.ntnu.no>, PR #2838.
1996-10-18 07:12:58 +00:00
jtc 9e981c23ff sys/signal.h -> signal.h 1995-06-27 00:31:00 +00:00
mycroft e60255f2bc Update to use timer{add,sub}(). 1995-03-21 14:16:23 +00:00
jtc 39801cccde Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-08 09:30:36 +00:00
jtc f7c6bf575a Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
1993-08-27 22:30:10 +00:00
jtc f3781892d9 Changed to be POSIX.2 compliant.
Don't crash with -l option if program executed in less than one tick.
1993-08-27 19:05:29 +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