Searched refs:slash (Results 1 – 3 of 3) sorted by relevance
62 const char *slash; in dtc_open_file() local66 slash = strrchr(fname, '/'); in dtc_open_file()67 if (slash) { in dtc_open_file()68 char *dir = xmalloc(slash - fname + 1); in dtc_open_file()70 memcpy(dir, fname, slash - fname); in dtc_open_file()71 dir[slash - fname] = 0; in dtc_open_file()
148 char save_cwd[256], *slash; in absolutize() local156 slash = strrchr(from, '/'); in absolutize()157 if (slash != NULL) { in absolutize()158 *slash = '\0'; in absolutize()160 *slash = '/'; in absolutize()165 *slash = '/'; in absolutize()172 if (strlen(slash) + 1 > remaining) { in absolutize()177 strcat(to, slash); in absolutize()
144 keycode 115 = slash question