From 8a0efa53e44919bcf5ccb1d3353618a82afdf8bc Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 17 Feb 2000 19:39:52 +0000 Subject: import newlib-2000-02-17 snapshot --- newlib/libc/include/sys/resource.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 newlib/libc/include/sys/resource.h (limited to 'newlib/libc/include/sys/resource.h') diff --git a/newlib/libc/include/sys/resource.h b/newlib/libc/include/sys/resource.h new file mode 100644 index 000000000..eb827552c --- /dev/null +++ b/newlib/libc/include/sys/resource.h @@ -0,0 +1,15 @@ +#ifndef _SYS_RESOURCE_H_ +#define _SYS_RESOURCE_H_ + +#include + +#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 + -- cgit v1.2.3