zig/lib/libc/include/wasm-wasi-musl/sys/timeb.h
Jakub Konka 7b74de7d71 wasi,cc: fix naming and add stubs for building
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.
2021-05-20 16:54:00 +02:00

28 lines
356 B
C
Vendored

#ifndef _SYS_TIMEB_H
#define _SYS_TIMEB_H
#ifdef __cplusplus
extern "C" {
#endif
#include <features.h>
#define __NEED_time_t
#include <bits/alltypes.h>
struct timeb {
time_t time;
unsigned short millitm;
short timezone, dstflag;
};
int ftime(struct timeb *);
#if _REDIR_TIME64
__REDIR(ftime, __ftime64);
#endif
#ifdef __cplusplus
}
#endif
#endif