Lines Matching defs:str
72 * overwrites <str> to common prefix of <str> and <newstr>
73 * if <str> is equal to <newstr> returns <str>+strlen(<str>)+1
74 * otherwise returns <str>+strlen(<str>)
76 static char *overlaid(register char *str,register const char *newstr,int nocase)
79 while((c= *(unsigned char *)str) && ((d= *(unsigned char*)newstr++),charcmp(c,d,nocase)))
80 str++;
81 if(*str)
82 *str = 0;
84 str++;
85 return(str);