Date: Sun, 4 Dec 2005 18:44:21 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh builtins.def eval.c eval.h sh.1 Message-ID: <200512041844.jB4IiLjM053432@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512041844.jB4IiLjM053432>
