OSDN Git Service

projects clean up 1
[pinoc/pinoc.git] / pinoc_gcc / lib / include / sys / resource.h
diff --git a/pinoc_gcc/lib/include/sys/resource.h b/pinoc_gcc/lib/include/sys/resource.h
new file mode 100644 (file)
index 0000000..eb82755
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef _SYS_RESOURCE_H_
+#define _SYS_RESOURCE_H_
+
+#include <sys/time.h>
+
+#define        RUSAGE_SELF     0               /* calling process */
+#define        RUSAGE_CHILDREN -1              /* terminated child processes */
+
+struct rusage {
+       struct timeval ru_utime;        /* user time used */
+       struct timeval ru_stime;        /* system time used */
+};
+
+#endif
+