times command data structure tms exposed

times() stores the current process times in
the struct tms that buf points to.  
The struct tms is as defined in <sys/times.h>:

struct tms {
   clock_t tms_utime;  /* user time */
   clock_t tms_stime;  /* system time */
   clock_t tms_cutime; /* user time of children */
   clock_t tms_cstime; /* system time of children */
           };

Leave a comment

Your email address will not be published. Required fields are marked *