Searched refs:oldpath (Results 1 – 2 of 2) sorted by relevance
/system/core/init/ |
D | util.h | 36 void make_link(const char *oldpath, const char *newpath); 37 void remove_link(const char *oldpath, const char *newpath);
|
D | util.c | 316 void make_link(const char *oldpath, const char *newpath) in make_link() argument 335 ret = symlink(oldpath, newpath); in make_link() 337 ERROR("Failed to symlink %s to %s: %s (%d)\n", oldpath, newpath, strerror(errno), errno); in make_link() 340 void remove_link(const char *oldpath, const char *newpath) in remove_link() argument 348 if (!strcmp(path, oldpath)) in remove_link()
|