summaryrefslogtreecommitdiffstats
path: root/usr.bin/time/time.c
Commit message (Collapse)AuthorAgeFilesLines
* remove __Pimp2002-03-221-3/+3
|
* Fix one warning - still not warns clean.dwmalone2001-12-031-1/+1
|
* Localize it (LC_NUMERIC)ache2001-02-101-13/+25
|
* Remove vestages of a previous implimentation of "-h".obrien2000-10-311-2/+2
| | | | Submitted by: Tony Finch <dot@dotat.at>
* Add a new "-h" Human-friendly h/m/s output format.obrien2000-10-281-4/+40
| | | | Reviewed by: bde
* getopt and friends are declared in <unistd.h>imp2000-09-041-3/+0
| | | | getopt returns -1 not EOF.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Adds the '-p' option to make time(1) output POSIX.2 compliant.roberto1999-03-101-11/+32
| | | | | | | | | | Updates the manpage as well. I've rewritten the patch as it was for 2.2.7. It can probably be put into 3.1-STABLE as well. PR: bin/10515 Submitted by: Jens Schweikhardt <schweikh@noc.dfn.de>
* Calls one or more of malloc(), warn(), err(), syslog(), execlp() ordes1998-10-131-2/+2
| | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde
* When exiting on SIGINT, exit with signal statuscracauer1998-08-241-2/+12
|
* Brucifixion.des1998-07-281-15/+12
|
* Behave like GNU time. More cleanup. Reword man page.des1998-07-271-8/+3
| | | | Pointed out by: Bruce Evans
* Clean up the previous commit.des1998-07-271-24/+24
|
* By default, /usr/bin/time writes its output to stderr. Two optionsphk1998-07-241-19/+45
| | | | | | | | | | have been added to time(1) to write output to an alternative destination. Option "-f filename" will write to filename, and filename can be - to write to stdout. Option "-a filename" will append the output to filename. Time(1) man page has been updated to reflect the change. PR: 7368 Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
* Add usage() and use err(3).charnier1997-08-141-8/+19
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Close PR#1781 - time returns with EXIT_SUCCESS on some failuresjkh1996-10-121-1/+3
| | | | Submitted-By: Tor Egge <Tor.Egge@idt.ntnu.no>
* Fix a bug under time's "-l" option. The values reported for averagejdp1996-07-301-1/+24
| | | | | | | | | | shared memory size, average unshared data size, and average unshared stack size were too high by a factor of 128/100, because the program used a hard-coded hz value of 100. The correct value is the frequency of the statistics clock, currently 128. The program now uses sysctl to get the stathz value from the kernel. Discussed with: bde@freebsd.org (Bruce Evans)
* Close out PR#723: time -l dumps corepst1995-10-281-1/+9
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+140
OpenPOWER on IntegriCloud