picox  0.1
xvfs.c ファイル
xvfs.c の依存先関係図:

関数

static XError X__DefaultFlush ()
 
static XError X__DefaultFunc ()
 
static XError X__DefaultOpen (XVirtualFs *vfs, const char *path, XOpenMode mode, XFile **o_fp)
 
static XError X__DefaultOpendir (XVirtualFs *vfs, const char *path, XDir **o_dir)
 
static XError X__DoCopyTree (X__CopyTreeWorkBuf *work, int tail)
 
static XError X__DoRmTree (X__RmTreeWorkBuf *work, int tail)
 
static XError X__DoWalkTree (X__WalkTreeWorkBuf *work, int tail)
 
XError xvfs_chdir (XVirtualFs *vfs, const char *path)
 カレントディレクトリを変更します [詳解]
 
XError xvfs_close (XFile *fp)
 ファイルをクローズします [詳解]
 
XError xvfs_closedir (XDir *dir)
 ディレクトリをクローズします [詳解]
 
XError xvfs_copyfile (XVirtualFs *vfs, const char *src, const char *dst)
 ファイルをコピーします [詳解]
 
XError xvfs_copyfile2 (XFile *src, XFile *dst)
 ファイルをコピーします [詳解]
 
XError xvfs_copytree (XVirtualFs *vfs, const char *src, const char *dst)
 ディレクトリツリーをコピーします [詳解]
 
XError xvfs_exists (XVirtualFs *vfs, const char *path, bool *exists)
 パスが存在するかどうかを判定します [詳解]
 
XError xvfs_flush (XFile *fp)
 バッファされたデータを出力します [詳解]
 
int xvfs_getc (XFile *fp)
 ファイルから1文字を読み込みます
 
XError xvfs_getcwd (XVirtualFs *vfs, char *buf, size_t size)
 カレントディレクトリを取得します [詳解]
 
XError xvfs_gets (XFile *fp, char *dst, size_t size, char **result, bool *overflow)
 ファイルから1行を読み込みます [詳解]
 
void xvfs_init (XVirtualFs *vfs)
 
XStreamxvfs_init_stream (XStream *stream, XFile *fp)
 
XError xvfs_is_directory (XVirtualFs *vfs, const char *path, bool *isdir)
 パスがディレクトリかどうかを判定します [詳解]
 
XError xvfs_is_regular (XVirtualFs *vfs, const char *path, bool *isreg)
 パスが通常ファイルかどうかを判定します [詳解]
 
XError xvfs_makedirs (XVirtualFs *vfs, const char *path, bool exist_ok)
 ディレクトリを作成します [詳解]
 
XError xvfs_mkdir (XVirtualFs *vfs, const char *path)
 ディレクトリを作成します [詳解]
 
XError xvfs_open (XVirtualFs *vfs, const char *path, XOpenMode mode, XFile **o_fp)
 ファイルをオープンします [詳解]
 
XError xvfs_opendir (XVirtualFs *vfs, const char *path, XDir **o_dir)
 ディレクトリをオープンします [詳解]
 
int xvfs_printf (XFile *fp, const char *fmt,...)
 ファイルにprintf形式で文字列を書き込みます
 
int xvfs_putc (XFile *fp, int c)
 ファイルに1文字を書き込みます
 
int xvfs_puts (XFile *fp, const char *str)
 ファイルに文字列を書き込みます
 
XError xvfs_read (XFile *fp, void *dst, size_t size, size_t *nread)
 ファイルからデータを読み込みます [詳解]
 
XError xvfs_readdir (XDir *dir, XDirEnt *dirent, XDirEnt **result)
 ディレクトリから要素を読み込みます [詳解]
 
XError xvfs_remove (XVirtualFs *vfs, const char *path)
 エントリを削除します [詳解]
 
XError xvfs_rename (XVirtualFs *vfs, const char *oldpath, const char *newpath)
 エントリの名前や位置を変更します [詳解]
 
XError xvfs_rmtree (XVirtualFs *vfs, const char *path)
 ディレクトリツリーを削除します [詳解]
 
XError xvfs_seek (XFile *fp, XOffset pos, XSeekMode whence)
 ファイル位置を変更します [詳解]
 
XError xvfs_stat (XVirtualFs *vfs, const char *path, XStat *statbuf)
 エントリの状態を取得します [詳解]
 
XError xvfs_tell (XFile *fp, XSize *pos)
 ファイル位置を取得します [詳解]
 
XError xvfs_utime (XVirtualFs *vfs, const char *path, XTime time)
 エントリのタイムスタンプを変更します [詳解]
 
int xvfs_vprintf (XFile *fp, const char *fmt, va_list args)
 ファイルにvprintf形式で文字列を書き込みます
 
XError xvfs_walktree (XVirtualFs *vfs, const char *path, XFsTreeWalker walker, void *userptr)
 ディレクトリツリーを走査します [詳解]
 
XError xvfs_write (XFile *fp, const void *src, size_t size, size_t *nwritten)
 ファイルにデータを書き込みます [詳解]
 

詳解

著者
MaskedW