Welcome to the FoxOS website!
tmpfs_mount::tmpfs_mount(char* name)
undefined
char* name
tmpfs_mount::~tmpfs_mount()
undefined
file_t* tmpfs_mount::open(char* path)
char* path
file_t*
void tmpfs_mount::close(file_t* file)
file_t* file
void
void tmpfs_mount::read(file_t* file, void* buffer, size_t size, size_t offset)
file_t* file
void* buffer
size_t size
size_t offset
void
void tmpfs_mount::write(file_t* file, void* buffer, size_t size, size_t offset)
file_t* file
void* buffer
size_t size
size_t offset
void
void tmpfs_mount::touch(char* path)
char* path
void
void tmpfs_mount::mkdir(char* path)
char* path
void
dir_t tmpfs_mount::dir_at(int idx, char* path)
int idx
char* path
dir_t
void tmpfs_mount::delete_(file_t* file)
file_t* file
void
void tmpfs_mount::delete_dir(char* path)
char* path
void
char* tmpfs_mount::name()
char*
bool tmpfs_mount::read_dirent(tmpfs_dirent_t* dirent, void* buffer, size_t size, size_t offset)
tmpfs_dirent_t* dirent
void* buffer
size_t size
size_t offset
bool
void tmpfs_mount::write_dirent(tmpfs_dirent_t* dirent, void* buffer, size_t size, size_t offset)
tmpfs_dirent_t* dirent
void* buffer
size_t size
size_t offset
void
bool tmpfs_mount::readdir(tmpfs_dirent_t* dir, int idx, tmpfs_dirent_t* buffer)
tmpfs_dirent_t* dir
int idx
tmpfs_dirent_t* buffer
bool
void tmpfs_mount::writedir(tmpfs_dirent_t* parent, tmpfs_dirent_t* dirent)
tmpfs_dirent_t* parent
tmpfs_dirent_t* dirent
void
void tmpfs_mount::create_diretnt(tmpfs_dirent_t* parent, char* name, int type)
tmpfs_dirent_t* parent
char* name
int type
void
bool tmpfs_mount::get_dirent(char* path, tmpfs_dirent_t* buffer)
char* path
tmpfs_dirent_t* buffer
bool
bool tmpfs_mount::get_parent_dirent(char* path, tmpfs_dirent_t* buffer)
char* path
tmpfs_dirent_t* buffer
bool