#include "../file.h"
#include "../log.h"
#include "../lib/hweight.h"
+#include "../oslib/strcasestr.h"
#include "windows/posix.h"
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,
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();