Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions
filesystem.h File Reference
#include "lib/os_path.h"
#include "lib/posix/posix_filesystem.h"

Go to the source code of this file.

Classes

struct  wdirent
 

Macros

#define O_DIRECT   0x10000000
 

Functions

WDIRwopendir (const OsPath &path)
 
wdirentwreaddir (WDIR *)
 
int wreaddir_stat_np (WDIR *, struct stat *)
 
int wclosedir (WDIR *)
 
int wopen (const OsPath &pathname, int oflag)
 
int wopen (const OsPath &pathname, int oflag, mode_t mode)
 
int wclose (int fd)
 
LIB_API int wtruncate (const OsPath &pathname, off_t length)
 
LIB_API int wunlink (const OsPath &pathname)
 
LIB_API int wrmdir (const OsPath &path)
 
LIB_API int wrename (const OsPath &pathnameOld, const OsPath &pathnameNew)
 
LIB_API OsPath wrealpath (const OsPath &pathname)
 
LIB_API int wstat (const OsPath &pathname, struct stat *buf)
 
LIB_API int wmkdir (const OsPath &path, mode_t mode)
 

Macro Definition Documentation

#define O_DIRECT   0x10000000

Definition at line 67 of file filesystem.h.

Function Documentation

int wclose ( int  fd)

Definition at line 117 of file ufilesystem.cpp.

int wclosedir ( WDIR )

Definition at line 98 of file ufilesystem.cpp.

LIB_API int wmkdir ( const OsPath path,
mode_t  mode 
)

Definition at line 157 of file ufilesystem.cpp.

int wopen ( const OsPath pathname,
int  oflag 
)

Definition at line 106 of file ufilesystem.cpp.

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

Definition at line 112 of file ufilesystem.cpp.

WDIR* wopendir ( const OsPath path)

Definition at line 76 of file ufilesystem.cpp.

wdirent* wreaddir ( WDIR )

Definition at line 89 of file ufilesystem.cpp.

int wreaddir_stat_np ( WDIR ,
struct stat *   
)

Definition at line 178 of file wfilesystem.cpp.

LIB_API OsPath wrealpath ( const OsPath pathname)

Definition at line 143 of file ufilesystem.cpp.

LIB_API int wrename ( const OsPath pathnameOld,
const OsPath pathnameNew 
)

Definition at line 138 of file ufilesystem.cpp.

LIB_API int wrmdir ( const OsPath path)

Definition at line 133 of file ufilesystem.cpp.

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

Definition at line 152 of file ufilesystem.cpp.

LIB_API int wtruncate ( const OsPath pathname,
off_t  length 
)

Definition at line 123 of file ufilesystem.cpp.

LIB_API int wunlink ( const OsPath pathname)

Definition at line 128 of file ufilesystem.cpp.