Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/miscutils/time.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/miscutils/time.c
r2725 r3232 10 10 */ 11 11 12 //usage:#define time_trivial_usage 13 //usage: "[-v] PROG ARGS" 14 //usage:#define time_full_usage "\n\n" 15 //usage: "Run PROG, display resource usage when it exits\n" 16 //usage: "\n -v Verbose" 17 12 18 #include "libbb.h" 19 #include <sys/resource.h> /* getrusage */ 13 20 14 21 /* Information on the resources used by a child process. */ … … 64 71 65 72 /* Ignore signals, but don't ignore the children. When wait3 66 73 * returns the child process, set the time the command finished. */ 67 74 while ((caught = wait3(&resp->waitstatus, 0, &resp->ru)) != pid) { 68 75 if (caught == -1 && errno != EINTR) {
Note:
See TracChangeset
for help on using the changeset viewer.