source: trunk/libs/newlib/src/newlib/libc/include/sys/resource.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 345 bytes
Line 
1#ifndef _SYS_RESOURCE_H_
2#define _SYS_RESOURCE_H_
3
4#include <sys/time.h>
5
6#define RUSAGE_SELF     0               /* calling process */
7#define RUSAGE_CHILDREN -1              /* terminated child processes */
8
9struct rusage {
10        struct timeval ru_utime;        /* user time used */
11        struct timeval ru_stime;        /* system time used */
12};
13
14int     getrusage (int, struct rusage*);
15
16#endif
17
Note: See TracBrowser for help on using the repository browser.