]>
Commit | Line | Data |
---|---|---|
320054e8 DG |
1 | #ifndef __wasilibc___header_sys_resource_h |
2 | #define __wasilibc___header_sys_resource_h | |
3 | ||
4 | #include <__struct_rusage.h> | |
5 | ||
6 | #define RUSAGE_SELF 1 | |
7 | #define RUSAGE_CHILDREN 2 | |
8 | ||
49f1a57c DG |
9 | #ifdef __cplusplus |
10 | extern "C" { | |
11 | #endif | |
12 | ||
13 | int getrusage(int who, struct rusage *usage); | |
14 | ||
15 | #ifdef __cplusplus | |
16 | } | |
17 | #endif | |
18 | ||
320054e8 | 19 | #endif |