summaryrefslogtreecommitdiff
path: root/include/sys/times.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/times.h')
-rw-r--r--include/sys/times.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sys/times.h b/include/sys/times.h
new file mode 100644
index 000000000..b6defa877
--- /dev/null
+++ b/include/sys/times.h
@@ -0,0 +1,21 @@
+#ifndef _SYS_TIMES_H
+#define _SYS_TIMES_H
+
+#include <features.h>
+#include <sys/types.h>
+#include <time.h>
+
+struct tms {
+ clock_t tms_utime;
+ clock_t tms_stime;
+ clock_t tms_cutime;
+ clock_t tms_cstime;
+};
+
+__BEGIN_DECLS
+
+extern clock_t times __P ((struct tms * __tp));
+
+__END_DECLS
+
+#endif