]> git.proxmox.com Git - wasi-libc.git/blob - libc-bottom-half/headers/public/__header_sys_resource.h
__wasi_thread_spawn: stop truncating the return value (#353)
[wasi-libc.git] / libc-bottom-half / headers / public / __header_sys_resource.h
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
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
19 #endif