Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
598 B

  1. /*++
  2. Copyright (c) 1989-1996 Microsoft Corporation
  3. Module Name:
  4. times.h
  5. Abstract:
  6. This module contains the tms structure and clock_t described in section
  7. 4.5.2.2 of IEEE P1003.1/Draft 13.
  8. --*/
  9. #ifndef _SYS_TIMES_
  10. #define _SYS_TIMES_
  11. #include <sys/types.h>
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #ifndef _CLOCK_T_DEFINED
  16. #define _CLOCK_T_DEFINED
  17. typedef long clock_t;
  18. #endif
  19. struct tms {
  20. clock_t tms_utime;
  21. clock_t tms_stime;
  22. clock_t tms_cutime;
  23. clock_t tms_cstime;
  24. };
  25. clock_t __cdecl times(struct tms *);
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29. #endif /* _SYS_TIMES_ */