Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
Functions
vfs.h File Reference
#include <dirent.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/stat.h>
#include <sys/types.h>
Include dependency graph for vfs.h:

Go to the source code of this file.

Functions

int vfs_mount (int tid, const char *source, const char *target)
 
int vfs_open_file (int tid, const char *pathname)
 
int vfs_create_file (int tid, const char *pathname, mode_t mode)
 
int vfs_open_dir (int tid, const char *pathname, DIR *dirp)
 
int vfs_readdir (DIR *dirp, struct dirent *dirent)
 
char * vfs_getcwd (int tid, char *buf, size_t size)
 
int vfs_chdir (int tid, const char *path)
 
int vfs_mkdir (int tid, const char *pathname, mode_t mode)
 
int vfs_chmod (int tid, const char *pathname, mode_t mode)
 
int vfs_utime (int tid, const char *pathname, uint32_t mtime)
 
int vfs_remove (int tid, const char *pathname, bool rm_dir)
 
int vfs_stat (int tid, const char *pathname, struct stat *statbuf)
 
int vfs_rename (int tid, const char *oldpath, const char *newpath)