diff options
Diffstat (limited to 'src/user/lib/fs/misc.h')
-rw-r--r-- | src/user/lib/fs/misc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user/lib/fs/misc.h b/src/user/lib/fs/misc.h index d90100d..35184e1 100644 --- a/src/user/lib/fs/misc.h +++ b/src/user/lib/fs/misc.h @@ -14,5 +14,10 @@ void fs_dir_inject(const char *path); bool mount_at_pred(const char *path); +// TODO separate fs drivers and wrappers around syscalls + +/** like _syscall_fs_wait, but ensures *buf is a null terminated string on VFSOP_OPEN */ +handle_t ufs_wait(char *buf, size_t len, struct ufs_request *req); + /** Mounts something and injects its path into the fs */ #define MOUNT_AT(path) for (; mount_at_pred(path); exit(1)) |