zig/lib/libc/include/wasm-wasi-musl/utime.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

29 lines
343 B
C
Vendored

#ifndef _UTIME_H
#define _UTIME_H
#ifdef __cplusplus
extern "C" {
#endif
#include <features.h>
#define __NEED_time_t
#include <bits/alltypes.h>
struct utimbuf {
time_t actime;
time_t modtime;
};
int utime (const char *, const struct utimbuf *);
#if _REDIR_TIME64
__REDIR(utime, __utime64);
#endif
#ifdef __cplusplus
}
#endif
#endif