Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
ufilesystem.cpp File Reference
#include "precompiled.h"
#include "lib/sysdep/filesystem.h"
#include "lib/path.h"
#include <cstdio>
Include dependency graph for ufilesystem.cpp:

Classes

struct  WDIR
 

Functions

void init_libc ()
 
WDIRwopendir (const OsPath &path)
 
struct wdirentwreaddir (WDIR *wd)
 
int wclosedir (WDIR *wd)
 
int wopen (const OsPath &pathname, int oflag)
 
int wopen (const OsPath &pathname, int oflag, mode_t mode)
 
int wclose (int fd)
 
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)
 
int wstat (const OsPath &pathname, struct stat *buf)
 
int wmkdir (const OsPath &path, mode_t mode)
 

Function Documentation

◆ init_libc()

void init_libc ( )

◆ wclose()

int wclose ( int  fd)

◆ wclosedir()

int wclosedir ( WDIR wd)

◆ wmkdir()

int wmkdir ( const OsPath path,
mode_t  mode 
)

◆ wopen() [1/2]

int wopen ( const OsPath pathname,
int  oflag 
)

◆ wopen() [2/2]

int wopen ( const OsPath pathname,
int  oflag,
mode_t  mode 
)

◆ wopendir()

WDIR * wopendir ( const OsPath path)

◆ wreaddir()

struct wdirent * wreaddir ( WDIR wd)

◆ wrealpath()

OsPath wrealpath ( const OsPath pathname)

◆ wrename()

int wrename ( const OsPath pathnameOld,
const OsPath pathnameNew 
)

◆ wrmdir()

int wrmdir ( const OsPath path)

◆ wstat()

int wstat ( const OsPath pathname,
struct stat *  buf 
)

◆ wtruncate()

int wtruncate ( const OsPath pathname,
off_t  length 
)

◆ wunlink()

int wunlink ( const OsPath pathname)