Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/miscutils/time.c


Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/miscutils/time.c

    r2725 r3232  
    1010*/
    1111
     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
    1218#include "libbb.h"
     19#include <sys/resource.h> /* getrusage */
    1320
    1421/* Information on the resources used by a child process.  */
     
    6471
    6572    /* Ignore signals, but don't ignore the children.  When wait3
    66        returns the child process, set the time the command finished. */
     73     * returns the child process, set the time the command finished. */
    6774    while ((caught = wait3(&resp->waitstatus, 0, &resp->ru)) != pid) {
    6875        if (caught == -1 && errno != EINTR) {
Note: See TracChangeset for help on using the changeset viewer.