vfs: add closedir

also add `opendir`, `readdir`, and `closedir` to vfs.h
This commit is contained in:
Michael Shaw 2023-10-20 12:28:17 -04:00
commit a1cea1f438
2 changed files with 17 additions and 0 deletions

View file

@ -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_ */