23#ifndef INCLUDED_WFILESYSTEM
24#define INCLUDED_WFILESYSTEM
33typedef unsigned int mode_t;
39#define S_IRUSR _S_IREAD
40#define S_IRGRP _S_IREAD
41#define S_IROTH _S_IREAD
42#define S_IWUSR _S_IWRITE
43#define S_IWGRP _S_IWRITE
44#define S_IWOTH _S_IWRITE
48#define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR)
49#define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP)
50#define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH)
52#define S_ISDIR(m) (m & S_IFDIR)
53#define S_ISREG(m) (m & S_IFREG)
60extern int read (
int fd,
void* buf,
size_t nbytes);
61extern int write(
int fd,
void* buf,
size_t nbytes);
int write(int fd, void *buf, size_t nbytes)
Definition: wfilesystem.cpp:278
int read(int fd, void *buf, size_t nbytes)
Definition: wfilesystem.cpp:273
off_t lseek(int fd, off_t ofs, int whence)
Definition: wfilesystem.cpp:283
__int64 off_t
Definition: wposix_types.h:91