summaryrefslogtreecommitdiffstats
path: root/usr.bin/time/time.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pledge "stdio proc exec". relies on two recent kernel fixes.deraadt2015-10-101-1/+3
|
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+1
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* handle large time_t types; ok millertderaadt2013-04-161-13/+13
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-14/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* unveil that time(1) accepts optional arguments for the utility operand,sobrado2009-07-141-3/+4
| | | | | | | | | | this way we not only improve the synopsis accuracy but also match descriptions provided by IEEE Std 1003.1-2008, FreeBSD and NetBSD for this command; while here, synchronize the operand name. description for the optional arguments proposed by jmc@ ok jmc@
* remove useless case that is handled by default anywaygrunk2006-05-171-9/+8
| | | | | | zap trailing blanks ok otto@
* mostly ansi cleanup; pval okderaadt2003-06-101-6/+4
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* pid_t cleanupderaadt2002-05-261-3/+3
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-3/+3
|
* o) fix return value;mpech2001-11-221-15/+29
| | | | | | o) initial KNF; millert@ help & ok;
* kill more registersmpech2001-11-191-3/+3
| | | | millert@ ok
* first pass at a -Wall cleanupderaadt2001-07-121-2/+3
|
* page reclaims -> minor page faultsart2001-06-131-4/+4
| | | | | page faults -> major page faults. millert@ ok.
* Correctly get 'hz' with sysctl. Don't assume it's 100 (it's not on alpha).art2001-06-131-4/+16
|
* compare return value of signal(3) to SIG_ERR, not < 0 as it has not returnedmillert2000-04-291-4/+4
| | | | an int for ages...
* using kill() like WTERMSIG(), make exit status more accurate; cracauerderaadt1998-09-021-2/+11
|
* getopt(3) returns -1 when out of args, not EOF, whee!millert1997-01-151-3/+3
|
* correct default exitcode; netbsd pr#2838, Arne.Juul@idt.ntnu.noderaadt1996-10-121-7/+8
|
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+169