summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/posix/sys/times.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/sdk/inc/posix/sys/times.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/public/sdk/inc/posix/sys/times.h b/public/sdk/inc/posix/sys/times.h
new file mode 100644
index 000000000..730747fce
--- /dev/null
+++ b/public/sdk/inc/posix/sys/times.h
@@ -0,0 +1,43 @@
+/*++
+
+Copyright (c) 1989-1996 Microsoft Corporation
+
+Module Name:
+
+ times.h
+
+Abstract:
+
+ This module contains the tms structure and clock_t described in section
+ 4.5.2.2 of IEEE P1003.1/Draft 13.
+
+--*/
+
+#ifndef _SYS_TIMES_
+#define _SYS_TIMES_
+
+#include <sys/types.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef _CLOCK_T_DEFINED
+#define _CLOCK_T_DEFINED
+typedef long clock_t;
+#endif
+
+struct tms {
+ clock_t tms_utime;
+ clock_t tms_stime;
+ clock_t tms_cutime;
+ clock_t tms_cstime;
+};
+
+clock_t _CRTAPI1 times(struct tms *);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _SYS_TIMES_ */