Searched refs:dest_path (Results 1 – 5 of 5) sorted by relevance
131 int64_t chdir(char *dest_path) in chdir() argument133 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()
86 int64_t chdir(char *dest_path);
47 ``int64_t chdir(char *dest_path)``
523 let dest_path: &CStr = unsafe { CStr::from_ptr(path_ptr) }; in handle() localVariable524 let dest_path: &str = dest_path.to_str().map_err(|_| SystemError::EINVAL)?; in handle() localVariable525 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()
274 pub fn chdir(dest_path: &str) -> Result<usize, SystemError> { in chdir()276 let path: Box<&str> = Box::new(dest_path); in chdir()