pub fn sys_chdir(_abi: &mut LinuxRiscv64Abi, trapframe: &mut Trapframe) -> usizeExpand description
Linux sys_chdir system call implementation (syscall 49) Change current working directory
Arguments:
- path: Path to the new working directory
Returns:
- 0 on success
- usize::MAX on error (path not found, not a directory, permission denied, etc.)