|  | Pyrogenesis HEAD
    Pyrogenesis, a RTS Engine | 
#include "precompiled.h"#include "lib/sysdep/filesystem.h"#include "lib/debug.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 <atomic>
| Classes | |
| struct | WDIR | 
| Functions | |
| static WDIR * | wdir_alloc () | 
| static void | wdir_free (WDIR *d) | 
| static bool | IsValidDirectory (const OsPath &path) | 
| WDIR * | wopendir (const OsPath &path) | 
| struct wdirent * | wreaddir (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) | 
| 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 std::atomic< bool > | wdir_in_use { false } | 
| 
 | static | 
| 
 | static | 
| int read | ( | int | fd, | 
| void * | buf, | ||
| size_t | nbytes | ||
| ) | 
| int wclose | ( | int | fd | ) | 
| int wclosedir | ( | WDIR * | d | ) | 
| 
 | inlinestatic | 
| 
 | 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 | ||
| ) | 
| int wreaddir_stat_np | ( | WDIR * | d, | 
| struct stat * | s | ||
| ) | 
| int write | ( | int | fd, | 
| void * | buf, | ||
| size_t | nbytes | ||
| ) | 
| int wrmdir | ( | const OsPath & | path | ) | 
| int wstat | ( | const OsPath & | pathname, | 
| struct stat * | buf | ||
| ) | 
| int wunlink | ( | const OsPath & | pathname | ) | 
| 
 | static | 
| 
 | static |