Pyrogenesis  trunk
Classes | Functions | Variables
wfilesystem.cpp File Reference
#include "precompiled.h"
#include "lib/sysdep/filesystem.h"
#include "lib/sysdep/cpu.h"
#include "lib/sysdep/os/win/wutil.h"
#include "lib/sysdep/os/win/wposix/waio.h"
#include "lib/sysdep/os/win/wposix/wtime_internal.h"
#include "lib/sysdep/os/win/wposix/crt_posix.h"
Include dependency graph for wfilesystem.cpp:

Classes

struct  WDIR
 

Functions

static WDIRwdir_alloc ()
 
static void wdir_free (WDIR *d)
 
static bool IsValidDirectory (const OsPath &path)
 
WDIRwopendir (const OsPath &path)
 
struct wdirentwreaddir (WDIR *d)
 
int wreaddir_stat_np (WDIR *d, struct stat *s)
 
int wclosedir (WDIR *d)
 
int wopen (const OsPath &pathname, int oflag)
 
int wopen (const OsPath &pathname, int oflag, mode_t mode)
 
int wclose (int fd)
 
int read (int fd, void *buf, size_t nbytes)
 
int write (int fd, void *buf, size_t nbytes)
 
off_t lseek (int fd, off_t ofs, int whence)
 
int wtruncate (const OsPath &pathname, off_t length)
 
int wunlink (const OsPath &pathname)
 
int wrmdir (const OsPath &path)
 
int wrename (const OsPath &pathnameOld, const OsPath &pathnameNew)
 
OsPath wrealpath (const OsPath &pathname)
 
static int ErrnoFromCreateDirectory ()
 
int wmkdir (const OsPath &path, mode_t mode)
 
int wstat (const OsPath &pathname, struct stat *buf)
 

Variables

static WDIR wdir_storage
 
static volatile intptr_t wdir_in_use
 

Function Documentation

static int ErrnoFromCreateDirectory ( )
static
static bool IsValidDirectory ( const OsPath path)
static
off_t lseek ( int  fd,
off_t  ofs,
int  whence 
)
int read ( int  fd,
void *  buf,
size_t  nbytes 
)
int wclose ( int  fd)
int wclosedir ( WDIR d)
static WDIR* wdir_alloc ( )
inlinestatic
static void wdir_free ( WDIR d)
inlinestatic
int wmkdir ( const OsPath path,
mode_t  mode 
)
int wopen ( const OsPath pathname,
int  oflag 
)
int wopen ( const OsPath pathname,
int  oflag,
mode_t  mode 
)
WDIR* wopendir ( const OsPath path)
struct wdirent* wreaddir ( WDIR d)
int wreaddir_stat_np ( WDIR d,
struct stat *  s 
)
OsPath wrealpath ( const OsPath pathname)
int wrename ( const OsPath pathnameOld,
const OsPath pathnameNew 
)
int write ( int  fd,
void *  buf,
size_t  nbytes 
)
int wrmdir ( const OsPath path)
int wstat ( const OsPath pathname,
struct stat *  buf 
)
int wtruncate ( const OsPath pathname,
off_t  length 
)
int wunlink ( const OsPath pathname)

Variable Documentation

volatile intptr_t wdir_in_use
static
WDIR wdir_storage
static