Searched defs:newstr (Results 1 - 1 of 1) sorted by relevance

/ast/src/cmd/ksh93/edit/
H A Dcompletion.c78 * overwrites <str> to common prefix of <str> and <newstr>
79 * if <str> is equal to <newstr> returns <str>+strlen(<str>)+1
82 static char *overlaid(register char *str,register const char *newstr,int nocase) argument
85 while((c= *(unsigned char *)str) && ((d= *(unsigned char*)newstr++),charcmp(c,d,nocase)))
89 else if(*newstr==0)

Completed in 16 milliseconds