mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-08-14 14:28:15 +00:00
Declare getrusage.
It's defined publicly in libc, so publicly declare it too.
This commit is contained in:
parent
ec9f1c3956
commit
49f1a57cb8
@ -6,4 +6,14 @@
|
||||
#define RUSAGE_SELF 1
|
||||
#define RUSAGE_CHILDREN 2
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int getrusage(int who, struct rusage *usage);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user