|
|
void | init_file (void) |
| | 全てのファイルディスクリプタを初期化する
|
| |
| struct st_filesystem * | get_filesystem (const uchar *path) |
| | ファイル名からファイルシステムを調べる [詳解]
|
| |
| int | open_file (const uchar *path, int flags) |
| | ファイルを開く [詳解]
|
| |
| t_ssize | read_file (int fd, void *buf, t_size count) |
| | ファイルからデータを読み出す [詳解]
|
| |
| t_ssize | write_file (int fd, const void *buf, t_size count) |
| | ファイルにデータを書き込む [詳解]
|
| |
| t_ssize | seek_file (int fd, t_ssize offset, int whence) |
| | ファイルアクセス位置の設定 [詳解]
|
| |
| t_size | tell_file (int fd) |
| | ファイルアクセス位置の取得 [詳解]
|
| |
| int | close_file (int fd) |
| | ファイルを閉じる [詳解]
|
| |
| FS_DIR * | opendir_file (const uchar *name) |
| | ディレクトリを開く [詳解]
|
| |
| int | readdir_file (FS_DIR *dir, FS_FILEINFO *finfo) |
| | ディレクトリを読み出す [詳解]
|
| |
| int | closedir_file (FS_DIR *dir) |
| | ディレクトリを閉じる [詳解]
|
| |
| int | stat_file (const uchar *path, FS_FILEINFO *finfo) |
| | ファイルステータスを読み出す [詳解]
|
| |
| int | getfree_file (const uchar *path, unsigned long *sect, void **fs) |
| | 論理ドライブの未使用クラスタ数を取得する [詳解]
|
| |
| int | sync_file (int fd) |
| | キャッシュされたデータをフラッシュする [詳解]
|
| |
| int | unlink_file (const uchar *path) |
| | ファイルを消去する [詳解]
|
| |
| int | mkdir_file (const uchar *path) |
| | ディレクトリを作成する [詳解]
|
| |
|
int | chmod_file (const uchar *path, unsigned char flag) |
| |
| int | rename_file (const uchar *oldpath, const uchar *newpath) |
| | ファイル/ディレクトリ名を変更する [詳解]
|
| |
|
int | mkfs_file (const uchar *path, unsigned char part, unsigned short alloc) |
| |
| uchar * | get_last_filename (uchar *filename, const uchar *fullpath, unsigned int len) |
| | ファイルパスからファイル名のみを取得する [詳解]
|
| |
| uchar * | get_filename_extension (uchar *ext, const uchar *filename, unsigned int len) |
| | ファイル拡張子を取得する [詳解]
|
| |
|
char * | size2str (char *str, t_size size) |
| |