X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-windows.h;h=9e931c9c9e505d8438117cd89c72a5d2a3dae7ab;hb=71deafc693ad77947f5c3f72e7247eefcb97bd63;hp=49f96068ff329ba8bc0b2a69c748f3c8495bbd77;hpb=50b5860bcdc7dfb448c98c913203184e339756d7;p=fio.git diff --git a/os/os-windows.h b/os/os-windows.h index 49f96068..9e931c9c 100644 --- a/os/os-windows.h +++ b/os/os-windows.h @@ -105,6 +105,7 @@ int fcntl(int fildes, int cmd, ...); int fdatasync(int fildes); int lstat(const char * path, struct stat * buf); uid_t geteuid(void); +char* ctime_r(const time_t *t, char *buf); int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); ssize_t pwrite(int fildes, const void *buf, size_t nbyte, @@ -162,11 +163,6 @@ static inline unsigned long long os_phys_mem(void) return (unsigned long long) pages * (unsigned long long) pagesize; } -static inline void os_get_tmpdir(char *path, int len) -{ - GetTempPath(len, path); -} - static inline int gettid(void) { return GetCurrentThreadId();