4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-21 05:49:19 +08:00

25 lines
437 B
C
Raw Normal View History

2000-02-17 19:39:52 +00:00
#ifndef _SYS_RESOURCE_H_
#define _SYS_RESOURCE_H_
2022-09-26 19:20:08 +02:00
#ifdef __cplusplus
extern "C" {
#endif
2000-02-17 19:39:52 +00:00
#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 */
};
int getrusage (int, struct rusage*);
2022-09-26 19:20:08 +02:00
#ifdef __cplusplus
}
2000-02-17 19:39:52 +00:00
#endif
2022-09-26 19:20:08 +02:00
#endif /* !_SYS_RESOURCE_H_ */
2000-02-17 19:39:52 +00:00