Searched refs:cpold (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libcmd/common/
H A Dpathchk.c105 register char *cp=path, *cpold; local
135 if(!(cpold = getcwd((char*)0, 0)) && errno == EINVAL && (cpold = newof(0, char, PATH_MAX, 0)) && !getcwd(cpold, PATH_MAX))
137 free(cpold);
138 cpold = 0;
140 if(cpold)
142 cp = cpold + strlen(cpold);
145 if(cp>cpold)
[all...]
H A Drevlib.c38 register char *cp, *cpold; local
73 cpold = cp;
85 nleft += cpold-cp;
90 if(sfwrite(out,cp,cpold-cp) < 0)

Completed in 20 milliseconds