BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / 18495cfe1cf5f7fc6f6b0c8c12d7f34dfded1be0 / include / sys / times.h

// Related

Nucleus

Barry System headers (remove libc dependency) 18495cf (3 years, 2 months ago)
diff --git a/include/sys/times.h b/include/sys/times.h
new file mode 100644
index 0000000..8e838fb
--- /dev/null
+++ b/include/sys/times.h
@@ -0,0 +1,18 @@
+#ifndef _SYS_TIMES_H
+#define _SYS_TIMES_H
+
+#include <stdint.h>
+
+typedef uint64_t clock_t;
+
+/* Structure for a times call */
+typedef struct tms {
+	clock_t utime;
+	clock_t stime;
+	clock_t cutime;
+	clock_t cstime;
+} Times;
+
+clock_t times(Times *buf);
+
+#endif