Home
last modified time | relevance | path

Searched refs:dest_path (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dsyscall.rs181 let dest_path: &CStr = unsafe { CStr::from_ptr(ptr) }; in sys_chdir() localVariable
182 let dest_path: Result<&str, core::str::Utf8Error> = dest_path.to_str(); in sys_chdir() localVariable
184 if dest_path.is_err() { in sys_chdir()
188 let dest_path: &str = dest_path.unwrap(); in sys_chdir() localVariable
190 if dest_path.len() == 0 { in sys_chdir()
192 } else if dest_path.len() >= PAGE_4K_SIZE as usize { in sys_chdir()
196 let path = Box::new(dest_path.clone()); in sys_chdir()
/DragonOS-0.1.5/user/libs/libc/src/
Dunistd.c119 int64_t chdir(char *dest_path) in chdir() argument
121 if (dest_path == NULL) in chdir()
128 return syscall_invoke(SYS_CHDIR, (uint64_t)dest_path, 0, 0, 0, 0, 0, 0, 0); in chdir()
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dunistd.h86 int64_t chdir(char *dest_path);
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/
Dunistd.md47 ``int64_t chdir(char *dest_path)``