Home
last modified time | relevance | path

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

/DragonOS-0.1.8/user/libs/libc/src/
Dunistd.c131 int64_t chdir(char *dest_path) in chdir() argument
133 if (dest_path == NULL) in chdir()
140 return syscall_invoke(SYS_CHDIR, (uint64_t)dest_path, 0, 0, 0, 0, 0, 0, 0); in chdir()
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Dunistd.h86 int64_t chdir(char *dest_path);
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dunistd.md47 ``int64_t chdir(char *dest_path)``
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs523 let dest_path: &CStr = unsafe { CStr::from_ptr(path_ptr) }; in handle() localVariable
524 let dest_path: &str = dest_path.to_str().map_err(|_| SystemError::EINVAL)?; in handle() localVariable
525 if dest_path.len() == 0 { in handle()
527 } else if dest_path.len() > PAGE_4K_SIZE as usize { in handle()
531 return Ok(dest_path); in handle()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs274 pub fn chdir(dest_path: &str) -> Result<usize, SystemError> { in chdir()
276 let path: Box<&str> = Box::new(dest_path); in chdir()