GadgetSeed  0.9.6
st_filesystem 構造体

ファイルシステム構造体 [詳解]

#include <fs.h>

st_filesystem 連携図

フィールド

char * name
 
int(* mount )(int drvno, struct st_device *dev)
 
int(* unmount )(int drvno, struct st_device *dev)
 
void *(* open )(const uchar *path, int flags)
 
t_ssize(* read )(void *fd, void *buf, t_size count)
 
t_ssize(* write )(void *fd, const void *buf, t_size count)
 
t_ssize(* seek )(void *fd, t_ssize offset, int whence)
 
t_size(* tell )(void *fd)
 
int(* close )(void *fd)
 
FS_DIR *(* opendir )(const uchar *name)
 
int(* readdir )(FS_DIR *dir, FS_FILEINFO *finfo)
 
int(* closedir )(FS_DIR *dir)
 
int(* stat )(const uchar *path, FS_FILEINFO *finfo)
 
int(* getfree )(const uchar *path, unsigned long *sect, void **fso)
 
int(* sync )(void *fd)
 
int(* unlink )(const uchar *path)
 
int(* mkdir )(const uchar *path)
 
int(* chmod )(const uchar *path, unsigned char flag)
 
int(* rename )(const uchar *oldpath, const uchar *newpath)
 
int(* mkfs )(const uchar *path, unsigned char part, unsigned short alloc)
 

詳解

ファイルシステム構造体

fs.h56 行目に定義があります。


この構造体詳解は次のファイルから抽出されました: