mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Rename include dir to match the convention: from `wasm32-wasi` to `wasm-wasi-musl` Add building stubs which will be used to build and cache WASI libc sysroot.
19 lines
289 B
C
Vendored
19 lines
289 B
C
Vendored
#ifndef __wasilibc___header_sys_resource_h
|
|
#define __wasilibc___header_sys_resource_h
|
|
|
|
#include <__struct_rusage.h>
|
|
|
|
#define RUSAGE_SELF 1
|
|
#define RUSAGE_CHILDREN 2
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int getrusage(int who, struct rusage *usage);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|