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

/ast/src/cmd/ksh93/sh/
H A Dstring.c172 * look for the substring <oldsp> in <string> and replace with <newsp>
175 char *sh_substitute(const char *string,const char *oldsp,char *newsp) argument
177 assume string!=NULL && oldsp!=NULL && newsp!=NULL;
179 strlen(x)==(strlen(in string)+strlen(in newsp)-strlen(in oldsp));
188 if(*(cp=oldsp) == 0)
195 /* skip to first character which matches start of oldsp */
219 cp = oldsp;
H A Dio.c357 Sfio_t *oldsp; member in struct:subfile
2374 disp->oldsp = sp;
2390 sfseek(disp->oldsp,disp->offset,SEEK_SET);
2396 n = sfread(disp->oldsp,buff,size);

Completed in 42 milliseconds