Searched refs:dirind (Results 1 – 1 of 1) sorted by relevance
49 inT16 dirind; //index in directory in getpath() local54 dirind = strlen (directory); in getpath()55 while (dirind > 0 && directory[dirind - 1] != '/') in getpath()56 dirind--; //look back for dirname in getpath()57 directory[dirind] = '\0'; //end at directory in getpath()58 if (dirind != 0) { in getpath()64 for (dirind = 0; *pathlist != '\0' && *pathlist != ':';) in getpath()66 directory[dirind++] = *pathlist++; in getpath()69 if (dirind == 0) in getpath()71 if (directory[dirind - 1] != '/'); in getpath()[all …]