]>
git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/include/sys/times.h
1 #ifndef _WASI_EMULATED_PROCESS_CLOCKS
2 #error WASI lacks process-associated clocks; to enable emulation of the `times` function using \
3 the wall clock, which isn't sensitive to whether the program is running or suspended, \
4 compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
13 #define __NEED_clock_t
14 #include <bits/alltypes.h>
16 #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
24 #include <__struct_tms.h>
27 clock_t times (struct tms *);