home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / unixlib / !UnixLib / clib / sys / h / times < prev    next >
Encoding:
Text File  |  1994-07-28  |  528 b   |  31 lines

  1. /* sys/times.h    */
  2.  
  3. /*
  4.  * Structure returned by times()
  5.  */
  6.  
  7. #ifndef __SYS_TIMES_H
  8. #define __SYS_TIMES_H
  9.  
  10. #include <sys/types.h>
  11.  
  12. #define HZ      100
  13.  
  14. struct tms {
  15.         clock_t tms_utime;              /* user time */
  16.         clock_t tms_stime;              /* system time */
  17.         clock_t tms_cutime;             /* user time, children */
  18.         clock_t tms_cstime;             /* system time, children */
  19. };
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. clock_t times(struct tms *tmsp);
  26.  
  27. #ifdef __cplusplus
  28.     }
  29. #endif
  30. #endif
  31.