times.h 340 B

123456789101112131415161718192021222324252627
  1. #ifndef __TIMES_H
  2. #define __TIMES_H
  3. #pragma lib "/$M/lib/ape/libap.a"
  4. #ifndef _CLOCK_T
  5. #define _CLOCK_T
  6. typedef long clock_t;
  7. #endif
  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. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. clock_t times(struct tms *);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif