27 #ifndef INCLUDED_SYSDEP_FILESYSTEM 28 #define INCLUDED_SYSDEP_FILESYSTEM 66 #ifndef O_DIRECT // i.e. Windows or OS X 67 #define O_DIRECT 0x10000000 // (value does not conflict with any current Win32 _O_* flags.) 80 extern int wopen(
const OsPath& pathname,
int oflag);
81 extern int wopen(
const OsPath& pathname,
int oflag, mode_t mode);
119 LIB_API
int wstat(
const OsPath& pathname,
struct stat* buf);
123 #endif // #ifndef INCLUDED_SYSDEP_FILESYSTEM int wclose(int fd)
Definition: ufilesystem.cpp:117
LIB_API int wrmdir(const OsPath &path)
Definition: ufilesystem.cpp:133
WDIR * wopendir(const OsPath &path)
Definition: ufilesystem.cpp:76
LIB_API int wrename(const OsPath &pathnameOld, const OsPath &pathnameNew)
Definition: ufilesystem.cpp:138
Definition: filesystem.h:40
LIB_API int wtruncate(const OsPath &pathname, off_t length)
Definition: ufilesystem.cpp:123
wchar_t * d_name
Definition: filesystem.h:44
__int64 off_t
Definition: wposix_types.h:91
LIB_API int wunlink(const OsPath &pathname)
Definition: ufilesystem.cpp:128
LIB_API OsPath wrealpath(const OsPath &pathname)
Definition: ufilesystem.cpp:143
int wreaddir_stat_np(WDIR *, struct stat *)
Definition: wfilesystem.cpp:178
wdirent * wreaddir(WDIR *)
Definition: ufilesystem.cpp:89
LIB_API int wmkdir(const OsPath &path, mode_t mode)
Definition: ufilesystem.cpp:157
int wopen(const OsPath &pathname, int oflag)
Definition: ufilesystem.cpp:106
int wclosedir(WDIR *)
Definition: ufilesystem.cpp:98
LIB_API int wstat(const OsPath &pathname, struct stat *buf)
Definition: ufilesystem.cpp:152
Definition: ufilesystem.cpp:34