39 #ifndef picox_filesystem_xsinglefs_h_ 40 #define picox_filesystem_xsinglefs_h_ 72 void xsinglefs_deinit();
74 XError xsinglefs_mkdir(
const char* path);
75 XError xsinglefs_opendir(
const char* path,
XDir** o_dir);
76 XError xsinglefs_chdir(
const char* path);
77 XError xsinglefs_getcwd(
char* buf,
size_t size);
78 XError xsinglefs_remove(
const char* path);
79 XError xsinglefs_rename(
const char* oldpath,
const char* newpath);
80 XError xsinglefs_stat(
const char* path,
XStat* statbuf);
81 XError xsinglefs_utime(
const char* path,
XTime time);
82 XError xsinglefs_copyfile(
const char* src,
const char* dst);
83 XError xsinglefs_copytree(
const char* src,
const char* dst);
84 XError xsinglefs_rmtree(
const char* path);
85 XError xsinglefs_makedirs(
const char* path,
bool exist_ok);
87 XError xsinglefs_exists(
const char* path,
bool* exists);
88 XError xsinglefs_is_directory(
const char* path,
bool* isdir);
89 XError xsinglefs_is_regular(
const char* path,
bool* isreg);
91 #define xsinglefs_init_stream xvfs_init_stream 92 #define xsinglefs_close xvfs_close 93 #define xsinglefs_read xvfs_read 94 #define xsinglefs_write xvfs_write 95 #define xsinglefs_seek xvfs_seek 96 #define xsinglefs_tell xvfs_tell 97 #define xsinglefs_flush xvfs_flush 98 #define xsinglefs_readdir xvfs_readdir 99 #define xsinglefs_closedir xvfs_closedir 100 #define xsinglefs_putc xvfs_putc 101 #define xsinglefs_puts xvfs_puts 102 #define xsinglefs_printf xvfs_printf 103 #define xsinglefs_vprintf xvfs_vprintf 104 #define xsinglefs_getc xvfs_getc 105 #define xsinglefs_gets xvfs_gets 106 #define xsinglefs_copyfile2 xvfs_copyfile2 Definition: xfscore.h:182
uint32_t XTime
time_tの代替をするシステム時刻を格納するための型です
Definition: xtime.h:80
XOpenMode
ファイルオープン等のモードです
Definition: xstddef.h:435
XError
errnoの代替として使用する共通のエラーコードを表す列挙型です
Definition: xstddef.h:367
bool(* XFsTreeWalker)(void *userptr, const char *path, const XStat *statbuf, const XDirEnt *dirent)
ディレクトリ探索関数が呼び出すコールバック関数型です
Definition: xfscore.h:124
ファイル操作のハンドル構造体です
Definition: xfscore.h:70
ディレクトリ操作のハンドル構造体です
Definition: xfscore.h:82
ファイル情報を格納する構造体です
Definition: xfscore.h:92