home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue2 / SDL.ARC / !gcc / include / libscl / sys / h / times < prev    next >
Encoding:
Text File  |  2004-09-05  |  587 b   |  30 lines

  1. #ifndef __SYS_TIMES_H
  2. #define __SYS_TIMES_H
  3.  
  4. #define __need_clock_t
  5. #include <time.h>
  6.  
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10.  
  11. /* Structure describing CPU time used by a process and its children.  */
  12.  
  13. struct tms
  14. {
  15.   clock_t tms_utime;     /* user time */
  16.   clock_t tms_stime;     /* system time */
  17.   clock_t tms_cutime;    /* user time of dead children */
  18.   clock_t tms_cstime;    /* system time of dead children */
  19. };
  20.  
  21. /* Store the CPU time used by this process and all its dead children
  22.    in buffer.  */
  23. extern clock_t times (struct tms *__tmsp);
  24.  
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28.  
  29. #endif
  30.