Searched refs:oldpwd (Results 1 - 4 of 4) sorted by relevance

/ast/src/cmd/ksh93/bltins/
H A Dcd_pwd.c60 char *oldpwd; local
84 oldpwd = (char*)shp->pwd;
88 dir = sh_substitute(oldpwd,dir,argv[1]);
109 if(!oldpwd)
110 oldpwd = path_pwd(shp,1);
129 sp = oldpwd + strlen(oldpwd);
132 while(--sp > oldpwd && *sp!='/');
133 if(sp==oldpwd)
137 sfwrite(shp->strbuf,oldpwd,s
[all...]
/ast/src/cmd/mailx/
H A Dcmd3.c360 if (!(cp = state.var.oldpwd)) {
380 tp = state.var.oldpwd;
381 state.var.oldpwd = state.var.pwd;
H A Dmailx.h714 char pwd[2][PATHSIZE]; /* pwd and oldpwd paths */
835 char* oldpwd; member in struct:__anon136::__anon147
H A Dvars.c528 state.var.oldpwd = state.path.pwd[1];

Completed in 21 milliseconds