Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/pkg_install/dist/lib/
H A Dremove.c75 long_remove(const char **path_ptr, int missing_ok, int *did_chdir) in long_remove() argument
104 if (remove(path) == 0 || (errno == ENOENT && missing_ok)) in long_remove()
115 recursive_remove_internal(const char *path, int missing_ok, int cwd) in recursive_remove_internal() argument
129 if (long_remove(&sub_path, missing_ok, &did_chdir) == 0) in recursive_remove_internal()
167 rv |= long_remove(&path, missing_ok, &did_chdir); in recursive_remove_internal()
176 recursive_remove(const char *path, int missing_ok) in recursive_remove() argument
181 if (remove(path) == 0 || (errno == ENOENT && missing_ok)) in recursive_remove()
191 rv = recursive_remove_internal(path, missing_ok, orig_cwd); in recursive_remove()