Home
last modified time | relevance | path

Searched refs:can_fname (Results 1 – 3 of 3) sorted by relevance

/coreutils/src/
Drealpath.c99 char *can_fname = canonicalize_filename_mode (fname, can_mode); in realpath_canon() local
100 if (logical && can_fname) /* canonicalize again to resolve symlinks. */ in realpath_canon()
103 char *can_fname2 = canonicalize_filename_mode (can_fname, can_mode); in realpath_canon()
104 free (can_fname); in realpath_canon()
107 return can_fname; in realpath_canon()
151 char *can_fname = realpath_canon (fname, can_mode); in process_path() local
152 if (!can_fname) in process_path()
160 || (can_relative_base && !path_prefix (can_relative_base, can_fname)) in process_path()
161 || (can_relative_to && !relpath (can_fname, can_relative_to, nullptr, 0))) in process_path()
162 fputs (can_fname, stdout); in process_path()
[all …]
Drelpath.c88 relpath (char const *can_fname, char const *can_reldir, char *buf, size_t len) in relpath() argument
93 int common_index = path_common_prefix (can_reldir, can_fname); in relpath()
98 char const *fname_suffix = can_fname + common_index; in relpath()
Drelpath.h23 relpath (char const *can_fname, char const *can_reldir, char *buf, size_t len);