Search
lxdream.org :: lxdream/test/include/sys/resource.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/include/sys/resource.h
changeset 185:6755a04c447f
author nkeynes
date Tue Jul 11 01:35:27 2006 +0000 (17 years ago)
permissions -rw-r--r--
last change First commit of system test framework. 3 initial test cases (incomplete):
testide, testmath, and testta
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/test/include/sys/resource.h Tue Jul 11 01:35:27 2006 +0000
1.3 @@ -0,0 +1,15 @@
1.4 +#ifndef _SYS_RESOURCE_H_
1.5 +#define _SYS_RESOURCE_H_
1.6 +
1.7 +#include <sys/time.h>
1.8 +
1.9 +#define RUSAGE_SELF 0 /* calling process */
1.10 +#define RUSAGE_CHILDREN -1 /* terminated child processes */
1.11 +
1.12 +struct rusage {
1.13 + struct timeval ru_utime; /* user time used */
1.14 + struct timeval ru_stime; /* system time used */
1.15 +};
1.16 +
1.17 +#endif
1.18 +
.