Lines Matching refs:stakptr
126 if(*stakptr(PATH_OFFSET+1)==':' && isalpha(*stakptr(PATH_OFFSET)))
128 *stakptr(PATH_OFFSET+1) = *stakptr(PATH_OFFSET);
129 *stakptr(PATH_OFFSET)='/';
132 if(*stakptr(PATH_OFFSET)!='/')
149 if(!(cp = pathcanon(stakptr(PATH_OFFSET),PATH_DOTDOT)))
152 while(*--cp == '/' && cp>stakptr(PATH_OFFSET))
155 if(*(cp=stakptr(PATH_OFFSET))=='/')
160 if((rval=chdir(path_relative(shp,stakptr(PATH_OFFSET)))) >= 0)
166 if(rval<0 && *dir=='/' && *(path_relative(shp,stakptr(PATH_OFFSET)))!='/')
180 dir = stakptr(PATH_OFFSET);
183 dir = stakptr(PATH_OFFSET);
186 stakseek(dir-stakptr(0));