Windows: fix mlock, remove ftruncate and fix error handling.
[fio.git] / os / windows / posix.h
CommitLineData
1f81991e
JA
1#ifndef FIO_WINDOWS_POSIX_H
2#define FIO_WINDOWS_POSIX_H
3
4typedef off_t off64_t;
5typedef int clockid_t;
6
7extern int clock_gettime(clockid_t clock_id, struct timespec *tp);
8extern int inet_aton(const char *, struct in_addr *);
10a6b3c6 9extern int win_to_posix_error(DWORD winerr);
1f81991e
JA
10
11#endif