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

/osnet-11/usr/src/lib/libshell/common/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);
137 stakputs(oldpwd);
138 /* don't add '/' of oldpwd is / itself */
139 if(*oldpwd!='/' || oldpwd[1])
193 nv_putval(opwdnod,oldpwd,NV_RDONL
[all...]

Completed in 20 milliseconds