vfs: add closedir
also add `opendir`, `readdir`, and `closedir` to vfs.h
This commit is contained in:
parent
366c07de45
commit
a1cea1f438
2 changed files with 17 additions and 0 deletions
|
|
@ -107,4 +107,8 @@ int open(const char *pathname, int flags);
|
|||
int close(int fd);
|
||||
int seek(int fd, size_t offset, int whence);
|
||||
|
||||
DIR *opendir(const char *name);
|
||||
struct dirent *readdir(DIR *dir);
|
||||
int closedir(DIR *dir);
|
||||
|
||||
#endif /* _VFS_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue