Searched refs:pathname (Results 1 – 4 of 4) sorted by relevance
68 FILE *fopen(const char *restrict pathname, const char *restrict mode) in fopen() argument87 int fd = open(pathname, o_flags); in fopen()
670 let pathname = args[1] as *const c_char; in handle() localVariable672 let virt_pathname = VirtAddr::new(pathname as usize); in handle()675 } else if pathname.is_null() { in handle()679 let pathname: &CStr = unsafe { CStr::from_ptr(pathname) }; in handle() localVariable681 let pathname: &str = pathname.to_str().map_err(|_| SystemError::EINVAL)?; in handle() localVariable682 if pathname.len() >= MAX_PATHLEN { in handle()685 return Ok(pathname.trim()); in handle()687 let pathname = get_path(); in handle() localVariable688 if pathname.is_err() { in handle()689 Err(pathname.unwrap_err()) in handle()[all …]
56 FILE *fopen(const char *restrict pathname, const char *restrict mode);
346 pub fn unlinkat(_dirfd: i32, pathname: &str, flags: u32) -> Result<usize, SystemError> { in unlinkat()354 match do_remove_dir(&pathname) { in unlinkat()365 match do_unlink_at(&pathname, FileMode::from_bits_truncate(flags as u32)) { in unlinkat()