Search
lxdream.org :: lxdream/test/include/sys/resource.h
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 (15 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
nkeynes@185
     1
#ifndef _SYS_RESOURCE_H_
nkeynes@185
     2
#define _SYS_RESOURCE_H_
nkeynes@185
     3
nkeynes@185
     4
#include <sys/time.h>
nkeynes@185
     5
nkeynes@185
     6
#define	RUSAGE_SELF	0		/* calling process */
nkeynes@185
     7
#define	RUSAGE_CHILDREN	-1		/* terminated child processes */
nkeynes@185
     8
nkeynes@185
     9
struct rusage {
nkeynes@185
    10
  	struct timeval ru_utime;	/* user time used */
nkeynes@185
    11
	struct timeval ru_stime;	/* system time used */
nkeynes@185
    12
};
nkeynes@185
    13
nkeynes@185
    14
#endif
nkeynes@185
    15
.