times.h 301 B

12345678910111213141516171819202122232425
  1. #ifndef _SYS_TIMES_H
  2. #define _SYS_TIMES_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define __NEED_clock_t
  7. #include <bits/alltypes.h>
  8. struct tms {
  9. clock_t tms_utime;
  10. clock_t tms_stime;
  11. clock_t tms_cutime;
  12. clock_t tms_cstime;
  13. };
  14. clock_t times (struct tms *);
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif