pub fn sys_vfs_change_directory(trapframe: &mut Trapframe) -> usize
Expand description
Change current working directory using VFS (VfsChangeDirectory)
This system call changes the current working directory of the calling task to the specified path using the VFS layer.
§Arguments
trapframe.get_arg(0)
- Pointer to the null-terminated path string
§Returns
0
on successusize::MAX
on error (path not found, not a directory, etc.)