Searched refs:cptr (Results 1 – 1 of 1) sorted by relevance
42 char *cptr, *ncptr; in path_to_wname() local48 cptr = path[0] == '/' ? path + 1 : path; in path_to_wname()50 while ((ncptr = strchr(cptr, '/')) != NULL) { in path_to_wname()52 if (strlen(cptr) != 0) in path_to_wname()53 wname[(*nwname)++] = cptr; in path_to_wname()54 cptr = ncptr + 1; in path_to_wname()60 wname[(*nwname)++] = strlen(cptr) != 0? cptr : "."; in path_to_wname()
Completed in 4 milliseconds