vfs: add vfs_openat

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-10 12:18:04 -04:00
commit 733b9a7c47
2 changed files with 18 additions and 9 deletions

View file

@ -83,6 +83,7 @@ void vfs_init(void);
void vfs_register(struct fs_driver *fs);
int vfs_open(const char *abs_path, dirent_t **out);
int vfs_openat(dirent_t *in, const char *name, dirent_t **out);
void vfs_close(dirent_t *dent);
int vfs_creat(dirent_t *parent, const char *name, u64 mode, int flags, dirent_t **out);
int vfs_unlink(dirent_t *parent, const char *name);