cvs commit: src/bin/sh builtins.def eval.c eval.h sh.1
Stefan Farfeleder
stefanf at FreeBSD.org
Sun Dec 4 18:44:22 GMT 2005
stefanf 2005-12-04 18:44:21 UTC
FreeBSD src repository
Modified files:
bin/sh builtins.def eval.c eval.h sh.1
Log:
Add the times builtin. It reports the user and system time for the shell
itself and its children. Instead of calling times() (as implied by POSIX) this
implementation directly calls getrusage() to get the times because this is more
convenient.
Revision Changes Path
1.16 +1 -0 src/bin/sh/builtins.def
1.49 +26 -0 src/bin/sh/eval.c
1.11 +1 -0 src/bin/sh/eval.h
1.115 +6 -1 src/bin/sh/sh.1
More information about the cvs-src
mailing list