pub fn sys_vfs_get_cwd_path(trapframe: &mut Trapframe) -> usizeExpand description
Get current working directory path (VfsGetCwdPath)
This system call writes the calling task’s current working directory as a UTF-8 path into the provided user buffer.
§Arguments
trapframe.get_arg(0)- Pointer to buffer to store pathtrapframe.get_arg(1)- Buffer size
§Returns
- Number of bytes written to buffer on success
usize::MAXon error