Searched refs:l_pref (Results 1 – 1 of 1) sorted by relevance
344 size_t l_pref, l_name; local350 l_pref = isabspath ? 0 : strlen(pref);353 if ((ret = __os_malloc(l_pref + l_name + 2, NULL, &newname)) != 0)359 memcpy(newname, pref, l_pref);360 if (strchr(PATH_SEPARATOR, newname[l_pref - 1]) == NULL)361 newname[l_pref++] = PATH_SEPARATOR[0];363 memcpy(newname + l_pref, name, l_name + 1);